aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apt-dater-host/APKBUILD
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2017-05-26 19:59:55 +0200
committerShiz <hi@shiz.me>2017-06-02 10:58:42 +0200
commit7fc7e98817fc3ecaf08eea068202caf3ce301acf (patch)
tree28a596c302ed5acd9083162f54365a59b91f967a /testing/apt-dater-host/APKBUILD
parent0bc88b0ef76390f81ba815126568c41f1b7c4f1b (diff)
downloadaports-7fc7e98817fc3ecaf08eea068202caf3ce301acf.tar.bz2
aports-7fc7e98817fc3ecaf08eea068202caf3ce301acf.tar.xz
testing/apt-dater-host: fixes two bugs
Upstream-Issue: https://github.com/DE-IBH/apt-dater-host/pull/19
Diffstat (limited to 'testing/apt-dater-host/APKBUILD')
-rw-r--r--testing/apt-dater-host/APKBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/testing/apt-dater-host/APKBUILD b/testing/apt-dater-host/APKBUILD
index 5580c341ac..de4383693b 100644
--- a/testing/apt-dater-host/APKBUILD
+++ b/testing/apt-dater-host/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=apt-dater-host
pkgver=1.0.0
-pkgrel=3
+pkgrel=4
pkgdesc="Host helper application for apt-dater"
url="https://github.com/DE-IBH/apt-dater-host"
arch="noarch"
@@ -12,32 +12,36 @@ subpackages="$pkgname-doc"
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
+ 0001-apk-add-some-unit-tests-called-via-make-check.patch
+ 0002-apk-handle-packages-installed-with-Repository_pinnin.patch
+ 0003-apk-an-alpine-package-can-be-held-back-with-as-well.patch
"
+
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
cd "$builddir"
- chmod a+x apk/test-apt-dater-host || return 1
+ chmod a+x apk/test-apt-dater-host
}
check() {
cd "$builddir"/apk
- make check || return 1
+ make check
}
package() {
cd "$builddir"/apk
- make install DESTDIR="$pkgdir" || return 1
+ make install DESTDIR="$pkgdir"
- 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
+ cd "$builddir"/man
+ install -d -m0755 "$pkgdir"/usr/share/man/man1
+ install -m0644 "$pkgname".1 "$pkgdir"/usr/share/man/man1
}
-
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"
+d316c9cb8d465112b7c838103a6d0fe5acf437819bf3a7e8d51a2e317cded71d53a36f6db980f71f5aa789ee28c9ffbfd2af2a333e3ae16fcd4ac05cf48c84bc 0001-apk-add-some-unit-tests-called-via-make-check.patch
+ee606e48869c83b4f36515e3ffc23be1f99779aab848414601cf86722122fa2c433283dba6872571ec47af1a0b83d38f21dfa054221f7196b0273e7fce4904e5 0002-apk-handle-packages-installed-with-Repository_pinnin.patch
+bea084d448e1679e3910cb642177182a5ae75505b334b909989a4cdfaf1b5059286f90fcfcd39deb3e504a1816e5ba662e4c4c4f229493847a666396d1138f36 0003-apk-an-alpine-package-can-be-held-back-with-as-well.patch"