diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-17 21:50:05 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-17 21:51:19 +0100 |
commit | f8f30b412d2048942f459d92616169357d02858d (patch) | |
tree | 5604a9b6f11cbba5608a7ca47a09adcc810ed5cc /testing/apt-dater-host/APKBUILD | |
parent | 92c0c4a812c166ab2ef0dc4704b3464ea4560064 (diff) | |
download | aports-f8f30b412d2048942f459d92616169357d02858d.tar.bz2 aports-f8f30b412d2048942f459d92616169357d02858d.tar.xz |
testing/apt-dater-host: fix abuild, use release and backport patch
Diffstat (limited to 'testing/apt-dater-host/APKBUILD')
-rw-r--r-- | testing/apt-dater-host/APKBUILD | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/testing/apt-dater-host/APKBUILD b/testing/apt-dater-host/APKBUILD index d19683ae9d..5580c341ac 100644 --- a/testing/apt-dater-host/APKBUILD +++ b/testing/apt-dater-host/APKBUILD @@ -2,43 +2,42 @@ # Maintainer: Henrik Riomar <henrik.riomar@gmail.com> pkgname=apt-dater-host pkgver=1.0.0 -_pkgver=c3d10e0 -pkgrel=2 -pkgdesc="host helper application for apt-dater" +pkgrel=3 +pkgdesc="Host helper application for apt-dater" url="https://github.com/DE-IBH/apt-dater-host" arch="noarch" license="GPL2+" checkdepends="bats" -depends="" -makedepends="" -install="" subpackages="$pkgname-doc" -source="apt-dater-host-$pkgver-g$_pkgver.tar.gz::https://github.com/DE-IBH/apt-dater-host/archive/$_pkgver.tar.gz - 0001-apk-try-to-use-virt-what.patch - 0001-apk-add-some-unit-tests-called-via-make-check.patch +source="$pkgname-$pkgver.tar.gz::https://github.com/DE-IBH/$pkgname/archive/v$pkgver.tar.gz + initial-support-for-alpine.patch + try-to-use-virt-what.patch + add-some-unit-tests-called-via-make-check.patch " -builddir="$srcdir/" +builddir="$srcdir/$pkgname-$pkgver" prepare() { - cd "$builddir"/"$pkgname"-"$_pkgver"*/ || return 1 - patch -p1 -i "$srcdir"/0001-apk-try-to-use-virt-what.patch - patch -p1 -i "$srcdir"/0001-apk-add-some-unit-tests-called-via-make-check.patch + default_prepare || return 1 + + cd "$builddir" chmod a+x apk/test-apt-dater-host || return 1 } check() { - cd "$builddir"/"$pkgname"-"$_pkgver"*/apk || return 1 + cd "$builddir"/apk make check || return 1 } package() { - cd "$builddir"/"$pkgname"-"$_pkgver"*/apk || return 1 + cd "$builddir"/apk make install DESTDIR="$pkgdir" || return 1 - cd "$builddir"/"$pkgname"-"$_pkgver"*/man || return 1 + + cd "$builddir"/man || return 1 install -d -m0755 "$pkgdir"/usr/share/man/man1 || return 1 install -m0644 "$pkgname".1 "$pkgdir"/usr/share/man/man1 || return 1 } -sha512sums="5398d94209ed0ef8faaf9086240e35d28047c81ac001dc9b55165c4d7505ca7a33eb68101c1357f40c6ef74d5c224bb8d75cf9f9d06676794e828b1f49b01c04 apt-dater-host-1.0.0-gc3d10e0.tar.gz -d93a7dc7e1e119bc948a4eb401a46d8ef28243b78d848194d1c86949da9f02ac01e556ff1c77fa0cf3b219403b5d55b48286cc8729d3e7cc1355b80f33fbabd9 0001-apk-try-to-use-virt-what.patch -12392a9bd36c3445c47382bb33be2f17609d5badfed51b8b25caa5262c8260f0048da6a3990f695caa0d70b8e908a1452caef9e15eb6211f2c696c974218ed0d 0001-apk-add-some-unit-tests-called-via-make-check.patch" +sha512sums="db750d1c33e425de315ecfe4d7d1a177b64432070ce355adfe24ebf7510f4f3d64522f57578a1157394255ec4c13d5d6fd20639dfdf2a69a94f9364ec1b1a6c8 apt-dater-host-1.0.0.tar.gz +8f427b0f6bf240b753e66e61f4ff069ae5fb46ea2c87df5b0ba6126ccb21d3b104b37af8260da0925eabedecf7e43fee2adf57fb6b1112c309c84817aa8a74c9 initial-support-for-alpine.patch +105b10a811a39b78ed8764318bceb7c44f7dd9781f49bd7b8ce09fc7011e3dd88b41037a5a82f9b05b1324914fab4baa87c836f613cafea606554abe7b35c139 try-to-use-virt-what.patch +12392a9bd36c3445c47382bb33be2f17609d5badfed51b8b25caa5262c8260f0048da6a3990f695caa0d70b8e908a1452caef9e15eb6211f2c696c974218ed0d add-some-unit-tests-called-via-make-check.patch" |