diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -1,25 +1,17 @@ # Maintainer: n0vember <n0vember at half-9 dot net> pkgname=bash_unit -pkgver=1.6.0 +pkgver=1.6.1 pkgrel=1 pkgdesc="bash unit testing enterprise edition framework for professionals" arch=('any') url="https://github.com/pgrange/bash_unit" license=('GPL') depends=('bash') -source=(git+https://github.com/pgrange/bash_unit.git) +source=("https://github.com/pgrange/${pkgname}/archive/v${pkgver}.tar.gz") md5sums=('SKIP') -build() { - cd "$pkgname" - git checkout tags/v$pkgver -b v$pkgver -} - package() { - cd "$pkgname" - - install -Dm755 -o root -g root bash_unit "$pkgdir/usr/bin/bash_unit" - + install -Dm755 -o root -g root ${pkgname}-${pkgver}/bash_unit "$pkgdir/usr/bin/bash_unit" install -dm755 ${pkgdir}/usr/share/man/man1 - cp -dpr --no-preserve=ownership docs/man/man1/*.1 "$pkgdir/usr/share/man/man1" + cp -dpr --no-preserve=ownership ${pkgname}-${pkgver}/docs/man/man1/*.1 "$pkgdir/usr/share/man/man1" } |