diff options
author | Hexchain Tong | 2016-10-26 21:49:41 +0800 |
---|---|---|
committer | Hexchain Tong | 2016-10-26 21:49:41 +0800 |
commit | ee74e210e01812aac9c696f62d24acf0e8f915fb (patch) | |
tree | e853eb17802e6ac05698932049197a70f65beb02 | |
parent | c33c6871d8d70d2fbed42096d9fb45409b89b904 (diff) | |
download | aur-ee74e210e01812aac9c696f62d24acf0e8f915fb.tar.gz |
upgpkg
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | elvish.install | 5 |
3 files changed, 8 insertions, 7 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Wed Mar 30 05:00:12 UTC 2016 +# Wed Oct 26 13:49:29 UTC 2016 pkgbase = elvish-git pkgdesc = A novel Unix shell. - pkgver = r1760.f363571 + pkgver = r2046.df1d282 pkgrel = 1 url = https://github.com/elves/elvish install = elvish.install @@ -2,7 +2,7 @@ pkgname=elvish-git _pkgname=elvish -pkgver=r1760.f363571 +pkgver=r2046.df1d282 pkgrel=1 pkgdesc="A novel Unix shell." arch=('i686' 'x86_64') @@ -31,7 +31,7 @@ prepare() { build() { cd "$GOPATH/src/github.com/elves/elvish" - make get stub + make get } check() { @@ -40,6 +40,6 @@ check() { } package() { - install -Dm755 "$srcdir/build/bin/elvish"{,-stub} -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/" } diff --git a/elvish.install b/elvish.install index 41414644e72c..aeaacf13793d 100644 --- a/elvish.install +++ b/elvish.install @@ -1,9 +1,10 @@ post_install() { - grep -qe '^/usr/bin/elvish$' etc/shells || echo '/usr/bin/elvish' >> etc/shells + grep -qe '^/usr/bin/elvish$' etc/shells || echo "/usr/bin/elvish" >> etc/shells + grep -qe '^/bin/elvish$' etc/shells || echo "/bin/elvish" >> etc/shells } pre_remove() { - sed -ri '\|^/usr/bin/elvish$|d' etc/shells + sed -ri -e '\|^/usr/bin/elvish$|d' -e '\|^/bin/elvish$|d' etc/shells } # vim:set ts=2 sw=2 et: |