diff options
author | Sebastian 'Swift Geek' Grzywna | 2018-01-16 12:06:10 +0100 |
---|---|---|
committer | Sebastian 'Swift Geek' Grzywna | 2018-01-16 12:06:10 +0100 |
commit | ef070649127225ed290e30f3de567f9d0adf35ea (patch) | |
tree | edbff068452175690cda00c09270fdea35bf4552 /PKGBUILD | |
download | aur-ef070649127225ed290e30f3de567f9d0adf35ea.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a83e1e88fef0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Swift Geek +pkgname=iotools-git +_pkgname=iotools +pkgver=a +pkgrel=1 +pkgdesc="a suite of tools for reading and writing hardware registers" +arch=('i686' 'x86_64') +url="https://github.com/adurbin/iotools" +license=('GPL') +#depends=('') +makedepends=('git') +source=("git://github.com/adurbin/iotools.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + git rev-parse --short HEAD # Fix to better comply with github display +} + +build() { + cd "$srcdir/${_pkgname}" + unset CPPFLAGS + make +} + +package() { + cd "$srcdir/${_pkgname}" + install -d -m0755 "${pkgdir}/usr/bin" + make SBINDIR="${pkgdir}/usr/bin" install +} |