diff options
author | Tony Lambiris | 2017-11-11 09:40:33 -0500 |
---|---|---|
committer | Tony Lambiris | 2017-11-11 09:40:33 -0500 |
commit | 8b97b11cd3dea1f36171606dafc256f97500fc3d (patch) | |
tree | 080b779fe3839b80efb32e3d99bd0dc366989b24 | |
parent | a2c45064578b9628b12b66e451dad4ab1601a4a5 (diff) | |
download | aur-8b97b11cd3dea1f36171606dafc256f97500fc3d.tar.gz |
Version bump
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
3 files changed, 10 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = go-kbdgrab pkgdesc = Key grabber written in golang for cleaning your keyboard - pkgver = r9.6624d2a + pkgver = r11.34cc0df pkgrel = 1 url = https://github.com/tonylambiris/go-kbdgrab arch = i686 diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..da0fe6457f94 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src +pkg +go-kbdgrab +*pkg.tar.xz @@ -1,7 +1,7 @@ # Maintainer: Tony Lambiris <tony@criticalstack.com> pkgname=go-kbdgrab -pkgver=r9.6624d2a +pkgver=r11.34cc0df pkgrel=1 pkgdesc='Key grabber written in golang for cleaning your keyboard' arch=(i686 x86_64) @@ -21,18 +21,18 @@ pkgver() { prepare() { cd "${srcdir}/${pkgname}" - install -m755 -d "${srcdir}/go" + install -m755 -d "${srcdir}/go/src/github.com/tonylambiris/" + cp -a "${srcdir}/${pkgname}" "${srcdir}/go/src/github.com/tonylambiris/" } build() { - cd "${srcdir}/${pkgname}" + cd "${srcdir}/go/src/github.com/tonylambiris/go-kbdgrab" - GOROOT="/usr/lib/go" GOPATH="${srcdir}/go" PATH="$PATH:$GOPATH/bin" make deps GOROOT="/usr/lib/go" GOPATH="${srcdir}/go" PATH="$PATH:$GOPATH/bin" make } package() { - cd "${srcdir}/${pkgname}" + cd "${srcdir}/go/src/github.com/tonylambiris/go-kbdgrab" install -m755 -D kbdgrab "${pkgdir}"/usr/bin/kbdgrab } |