diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 22:11:54 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-16 17:27:23 +0000 |
commit | 53f795a26b0d2df72fc58f53165f85513bfc49f7 (patch) | |
tree | afd3025426fbba859db6003f9b3faf0575d9081e | |
parent | 3049df94807f447aca4e01de628085efd06c9dd4 (diff) | |
download | aports-53f795a26b0d2df72fc58f53165f85513bfc49f7.tar.bz2 aports-53f795a26b0d2df72fc58f53165f85513bfc49f7.tar.xz |
main/libguess: modernise, mark tests broken
-rw-r--r-- | main/libguess/APKBUILD | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/main/libguess/APKBUILD b/main/libguess/APKBUILD index dea889cd62..846ad70a4a 100644 --- a/main/libguess/APKBUILD +++ b/main/libguess/APKBUILD @@ -7,6 +7,7 @@ pkgrel=0 pkgdesc="extremely fast character set guessing library" url="http://atheme.org/project/libguess" arch="all" +options="!check" # Test suite requires package to be installed first license="ISC" depends= makedepends="libmowgli-dev autoconf" @@ -14,37 +15,28 @@ install= subpackages="$pkgname-dev" source="http://rabbit.dereferenced.org/~nenolod/distfiles/$pkgname-$pkgver.tar.bz2" -_builddir="$srcdir"/$pkgname-$pkgver - prepare() { - cd "$_builddir" - update_config_sub || return 1 - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + cd "$builddir" + update_config_sub + default_prepare autoconf } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 + --infodir=/usr/share/info + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install } -md5sums="7633fbfbeb75b1ded7f33cca3d8d4762 libguess-1.2.tar.bz2" -sha256sums="8019a16bdc7ca9d2efbdcc1429d48d033d5053d42e45fccea10abf98074f05f8 libguess-1.2.tar.bz2" sha512sums="a17269e42e12b81e0201a27e41d9e290ac7351000473ddfcb968d5fc6e09cb5753d0534277ec257d43224cb675c8d563849853ab68ab6079a35480d6c40fb053 libguess-1.2.tar.bz2" |