diff options
Diffstat (limited to 'community/apt-dater-host/APKBUILD')
-rw-r--r-- | community/apt-dater-host/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/apt-dater-host/APKBUILD b/community/apt-dater-host/APKBUILD new file mode 100644 index 0000000000..5997903c1c --- /dev/null +++ b/community/apt-dater-host/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Henrik Riomar <henrik.riomar@gmail.com> +# Maintainer: Henrik Riomar <henrik.riomar@gmail.com> +pkgname=apt-dater-host +pkgver=1.0.1 +pkgrel=0 +pkgdesc="Host helper application for apt-dater" +url="https://github.com/DE-IBH/apt-dater-host" +arch="noarch" +license="GPL-2.0-or-later" +checkdepends="bats checkbashisms" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/DE-IBH/$pkgname/archive/v$pkgver.tar.gz + apt-dater-host-fix-bashisms.patch + " + +builddir="$srcdir/$pkgname-$pkgver" + +check() { + cd "$builddir"/apk + make check + + checkbashisms ./apt-dater-host +} + +package() { + cd "$builddir"/apk + make install DESTDIR="$pkgdir" + + cd "$builddir"/man + install -d -m0755 "$pkgdir"/usr/share/man/man1 + install -m0644 "$pkgname".1 "$pkgdir"/usr/share/man/man1 +} +sha512sums="52d48ade6758cb1150be2f21ed4c9831b4254ccc749ae865321abea077737a49ff7aeefb4e643aa289d953d2847dcf83e94837fe510fa8f8bfe19cfda0fd9dbc apt-dater-host-1.0.1.tar.gz +6f695e1b1785f88217b5a32c509b5cb3c7a3f70069b042ad9770a4c1e86c4477abab2763579130f65e0c880976eb9f292bed3b42dda0d25e801696db479e55e8 apt-dater-host-fix-bashisms.patch" |