diff options
author | Hexchain Tong | 2016-02-22 21:39:32 +0800 |
---|---|---|
committer | Hexchain Tong | 2016-02-22 21:39:32 +0800 |
commit | b67ec8f3e02a107e73410369f78fa95f78b9dc3e (patch) | |
tree | a44c3743f9dd2e2c668357a5220200341910a6c0 | |
parent | b6ab6dd5648e63e19ed1936538011dad001a10ae (diff) | |
download | aur-b67ec8f3e02a107e73410369f78fa95f78b9dc3e.tar.gz |
fix build
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 10 deletions
@@ -1,8 +1,8 @@ -# Generated by makepkg 5.0.0 -# Thu Feb 18 05:35:18 UTC 2016 +# Generated by mksrcinfo v8 +# Mon Feb 22 13:39:28 UTC 2016 pkgbase = elvish-git pkgdesc = A novel Unix shell. - pkgver = r1408.b86ff2e + pkgver = r1530.92d34ec pkgrel = 1 url = https://github.com/elves/elvish arch = i686 @@ -15,7 +15,3 @@ pkgbase = elvish-git pkgname = elvish-git - md5sums = SKIP - -pkgname = elvish-git - @@ -2,7 +2,7 @@ pkgname=elvish-git _pkgname=elvish -pkgver=r1408.b86ff2e +pkgver=r1530.92d34ec pkgrel=1 pkgdesc="A novel Unix shell." arch=('i686' 'x86_64') @@ -26,10 +26,11 @@ prepare() { } build() { - go get github.com/elves/elvish + cd "$GOPATH/src/github.com/elves/elvish" + make -j1 } package() { - install -Dm755 "$srcdir/build/bin/elvish" -t "$pkgdir/usr/bin/" + install -Dm755 "$srcdir/build/bin/elvish"{,-stub} -t "$pkgdir/usr/bin/" install -Dm644 "$srcdir/$_pkgname/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/" } |