diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 23:57:31 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-17 13:38:28 +0000 |
commit | 2c19669b1c5f1926e8e4ef187fdb1c833acbc0c7 (patch) | |
tree | 9ab17b2d9f9d0c4871d20a5db3e3fbc98abbb838 /main/libunistring/APKBUILD | |
parent | 8f5af5e6c6ceb329d4a2921c3a8ed401edfc4185 (diff) | |
download | aports-2c19669b1c5f1926e8e4ef187fdb1c833acbc0c7.tar.bz2 aports-2c19669b1c5f1926e8e4ef187fdb1c833acbc0c7.tar.xz |
main/libunistring: modernise, mark no tests, fix license
Diffstat (limited to 'main/libunistring/APKBUILD')
-rw-r--r-- | main/libunistring/APKBUILD | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/main/libunistring/APKBUILD b/main/libunistring/APKBUILD index dff107127b..4eafd4ea82 100644 --- a/main/libunistring/APKBUILD +++ b/main/libunistring/APKBUILD @@ -6,7 +6,8 @@ pkgrel=0 pkgdesc="Library for manipulating Unicode strings and C strings" url="https://www.gnu.org/software/libunistring/" arch="all" -license="GPL" +options="!check" # Tests fail with musl locale library +license="GPL-2.0+ OR LGPL-3.0+" depends="" depends_dev="" makedepends="$depends_dev" @@ -14,19 +15,8 @@ install="" subpackages="$pkgname-dev $pkgname-doc" source="http://ftp.gnu.org/gnu/libunistring/libunistring-$pkgver.tar.xz" -_builddir="$srcdir"/libunistring-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,17 +25,14 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/lib/charset.alias } -md5sums="82e0545363d111bfdfec2ddbfe62ffd3 libunistring-0.9.7.tar.xz" -sha256sums="2e3764512aaf2ce598af5a38818c0ea23dedf1ff5460070d1b6cee5c3336e797 libunistring-0.9.7.tar.xz" sha512sums="52d5240dbf9b483976e980027187484dae6bbc103d44be8f9797832e772cde2ea03fcd27b062c81d42ea9b9f5a21216993695f2435bf8c06e48af916be0475f9 libunistring-0.9.7.tar.xz" |