From 7de23116a961c9011c245f644ff6e08398298e09 Mon Sep 17 00:00:00 2001 From: Henrik Riomar Date: Wed, 10 Jan 2018 08:33:45 +0100 Subject: community/apt-dater-host: move from testing --- community/apt-dater-host/APKBUILD | 34 ++++++++++++++++++++++ .../apt-dater-host-fix-bashisms.patch | 12 ++++++++ 2 files changed, 46 insertions(+) create mode 100644 community/apt-dater-host/APKBUILD create mode 100644 community/apt-dater-host/apt-dater-host-fix-bashisms.patch (limited to 'community/apt-dater-host') 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 +# Maintainer: Henrik Riomar +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" diff --git a/community/apt-dater-host/apt-dater-host-fix-bashisms.patch b/community/apt-dater-host/apt-dater-host-fix-bashisms.patch new file mode 100644 index 0000000000..8af008f38d --- /dev/null +++ b/community/apt-dater-host/apt-dater-host-fix-bashisms.patch @@ -0,0 +1,12 @@ +diff -urN a/apk/apt-dater-host b/apk/apt-dater-host +--- a/apk/apt-dater-host 2017-09-19 17:29:23.873543499 +0200 ++++ b/apk/apt-dater-host 2017-09-19 17:29:53.406954004 +0200 +@@ -168,7 +168,7 @@ + shift + + proxy="/etc/profile.d/proxy.sh" +- [ -r $proxy ] && source $proxy ++ [ -r $proxy ] && . $proxy + + cmd="$ROOT_CMD $*" + $cmd -- cgit v1.2.3