diff options
author | Hexchain Tong | 2016-02-16 21:55:15 +0800 |
---|---|---|
committer | Hexchain Tong | 2016-02-16 21:55:15 +0800 |
commit | ed3072694b10772a9cd520c747e11b7a64ef8386 (patch) | |
tree | ab5e828c49c7778f43f96041260d5d8d0947e305 | |
parent | 0e66050e8c3fd775cab3ef7ad2f47356a12ffbb0 (diff) | |
download | aur-ed3072694b10772a9cd520c747e11b7a64ef8386.tar.gz |
upgpkg: elvish-git
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 5 insertions, 8 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Mon Feb 15 15:41:40 UTC 2016 +# Tue Feb 16 13:54:42 UTC 2016 pkgbase = elvish-git pkgdesc = A novel Unix shell, aims to explore the potential of the Unix shell. - pkgver = r1397.5609dd1 + pkgver = r1408.b86ff2e pkgrel = 1 url = https://github.com/elves/elvish arch = i686 @@ -2,7 +2,7 @@ pkgname=elvish-git _pkgname=elvish -pkgver=r1397.5609dd1 +pkgver=r1408.b86ff2e pkgrel=1 pkgdesc="A novel Unix shell, aims to explore the potential of the Unix shell." arch=('i686' 'x86_64') @@ -23,16 +23,13 @@ prepare() { mkdir -p build/src/github.com/elves ln -sf "$srcdir/$_pkgname" build/src/github.com/elves/ export GOPATH="$srcdir/build" - - go get github.com/elves/elvish } build() { - cd "$srcdir/$_pkgname" - go build + go get github.com/elves/elvish } package() { - install -Dm755 "$srcdir/$_pkgname/elvish" -t "$pkgdir/usr/bin/" + install -Dm755 "$srcdir/build/bin/elvish" -t "$pkgdir/usr/bin/" install -Dm644 "$srcdir/$_pkgname/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/" } |