summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-19 23:28:56 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-19 23:28:56 -0500
commit7046481cda2622c931250c482892b1cf8fc5c8ca (patch)
treec0838df4badeec3c179f6a9309e36c96cd30740d
parent0883a17f52ad159fe1c3b2acfa1bd8615daeb8e1 (diff)
downloadpackages-7046481cda2622c931250c482892b1cf8fc5c8ca.tar.gz
packages-7046481cda2622c931250c482892b1cf8fc5c8ca.tar.bz2
packages-7046481cda2622c931250c482892b1cf8fc5c8ca.tar.xz
packages-7046481cda2622c931250c482892b1cf8fc5c8ca.zip
user/man-db: add test suite and disable it
woe, thy name is iconv
-rw-r--r--user/man-db/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/man-db/APKBUILD b/user/man-db/APKBUILD
index 466e5be58..32e688455 100644
--- a/user/man-db/APKBUILD
+++ b/user/man-db/APKBUILD
@@ -10,6 +10,7 @@ license="GPL-2+"
depends="groff less"
makedepends="db-dev gettext-dev libpipeline-dev zlib-dev"
subpackages="$pkgname-lang $pkgname-doc"
+options="!check" # requires //IGNORE in iconv
source="http://download.savannah.nongnu.org/releases/man-db/man-db-$pkgver.tar.xz
man-db.trigger"
triggers="man-db.trigger=/usr/share/man"
@@ -30,6 +31,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install