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 | |
download | aur-ef070649127225ed290e30f3de567f9d0adf35ea.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..583f12ee8f75 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Tue Jan 16 11:04:43 UTC 2018 +pkgbase = iotools-git + pkgdesc = a suite of tools for reading and writing hardware registers + pkgver = a + pkgrel = 1 + url = https://github.com/adurbin/iotools + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + source = git://github.com/adurbin/iotools.git + md5sums = SKIP + +pkgname = iotools-git + 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 +} |