summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRohan Bafna2018-07-24 21:08:38 -0400
committerRohan Bafna2018-07-24 21:08:38 -0400
commite24db154af3dda72c1e852caaeb1954d1c7f034c (patch)
treef74281619af33a3d4ba77d18aba213c818c901e0 /PKGBUILD
parent78a2afdf369bc06f526734ccc666e822cfc68fa6 (diff)
downloadaur-e24db154af3dda72c1e852caaeb1954d1c7f034c.tar.gz
Allow package to be run without prepare()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2ef60f3e50e..fd95780acb9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_basename=joycon
pkgname="$_basename-git"
pkgver='r99.144b22d'
-pkgrel='1'
+pkgrel='2'
pkgdesc='Joy-Con input driver'
arch=('x86_64')
url="https://github.com/riking/$_basename"
@@ -12,8 +12,11 @@ makedepends=('go' 'git')
provides=("$_basename")
conflicts=("$_basename")
_gourl="github.com/riking/$_basename/prog4/jcdriver"
+source=("src/github.com/riking/$_basename::git+https://github.com/riking/$_basename.git")
+md5sums=('SKIP')
prepare() {
+ rm -rf "$srcdir/src/github.com/riking/$_basename"
GOPATH="$srcdir" go get -d -u $_gourl
}