diff options
author | Rohan Bafna | 2018-07-24 21:08:38 -0400 |
---|---|---|
committer | Rohan Bafna | 2018-07-24 21:08:38 -0400 |
commit | e24db154af3dda72c1e852caaeb1954d1c7f034c (patch) | |
tree | f74281619af33a3d4ba77d18aba213c818c901e0 | |
parent | 78a2afdf369bc06f526734ccc666e822cfc68fa6 (diff) | |
download | aur-e24db154af3dda72c1e852caaeb1954d1c7f034c.tar.gz |
Allow package to be run without prepare()
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = joycon-git pkgdesc = Joy-Con input driver pkgver = r99.144b22d - pkgrel = 1 + pkgrel = 2 url = https://github.com/riking/joycon arch = x86_64 license = unknown @@ -10,6 +10,8 @@ pkgbase = joycon-git depends = libudev.so provides = joycon conflicts = joycon + source = src/github.com/riking/joycon::git+https://github.com/riking/joycon.git + md5sums = SKIP pkgname = joycon-git @@ -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 } |