diff options
author | neneal | 2019-03-08 22:43:45 -0600 |
---|---|---|
committer | neneal | 2019-03-08 22:43:45 -0600 |
commit | 1fca06ad13eeddded888151347a241e12f7c1e15 (patch) | |
tree | 900a28070524eeee8949c8eda20300b2add57f86 | |
parent | b6516fec733934f0b7fdcf87665685abd385a6fc (diff) | |
download | aur-1fca06ad13eeddded888151347a241e12f7c1e15.tar.gz |
Added a symlink so it can be ran as just 'bonsai'
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,11 +1,11 @@ # Maintainer: N.E. Neal <spam at [part of name before neal without dots] dog com> pkgname='bonsai.sh-git' -pkgver=r41.e89b8c6 +pkgver=r43.0c43085 pkgrel=1 pkgdesc="A randomly generated bonsai tree in your terminal!" arch=('any') url="https://gitlab.com/jallbrit/bonsai.sh" -license=('GPL') +license=('GPL3') groups=() depends=("bash") makedepends=("git") @@ -28,5 +28,7 @@ pkgver() { package() { cd ${srcdir}/${pkgname} - install -Dm755 bonsai.sh "$pkgdir/usr/bin/bonsai.sh" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm755 bonsai.sh "$pkgdir/usr/bin/bonsai.sh" + sudo ln -s /bin/bonsai.sh /bin/bonsai } |