diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 17 insertions, 18 deletions
@@ -1,13 +1,12 @@ pkgbase = bash_unit pkgdesc = bash unit testing enterprise edition framework for professionals - pkgver = 1.6.0 + pkgver = 2.3.1 pkgrel = 1 url = https://github.com/pgrange/bash_unit arch = any license = GPL depends = bash - source = git+https://github.com/pgrange/bash_unit.git - md5sums = SKIP + source = bash_unit-2.3.1.tar.gz::https://github.com/pgrange/bash_unit/archive/v2.3.1.tar.gz + sha256sums = 30aefc0a75196000680f0668b495f3f98c568eb06d9187eab1e9b2e07237802c pkgname = bash_unit - diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..006e6f83b780 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +package: + makepkg + makepkg --printsrcinfo > .SRCINFO + +clean: + @rm -vr pkg src bash_unit-*.pkg.tar.zst v*.tar.gz @@ -1,25 +1,19 @@ -# Maintainer: n0vember <n0vember at half-9 dot net> +# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> +# Contributor: n0vember <n0vember at half-9 dot net> + pkgname=bash_unit -pkgver=1.6.0 +pkgver=2.3.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) -md5sums=('SKIP') - -build() { - cd "$pkgname" - git checkout tags/v$pkgver -b v$pkgver -} +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pgrange/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('30aefc0a75196000680f0668b495f3f98c568eb06d9187eab1e9b2e07237802c') package() { - cd "$pkgname" - - install -Dm755 -o root -g root bash_unit "$pkgdir/usr/bin/bash_unit" - + install -Dm755 ${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" } |