diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-05 22:15:44 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-05 22:15:44 -0500 |
commit | 64a81db4398106a52f9167dbf9fe979875dddb7a (patch) | |
tree | 570402147d9f62f094e65e9bf92c1d1a0cbb8f76 | |
parent | 1015c59625d25cd40bddb3b1c8a0133217c08b5a (diff) | |
download | packages-64a81db4398106a52f9167dbf9fe979875dddb7a.tar.gz packages-64a81db4398106a52f9167dbf9fe979875dddb7a.tar.bz2 packages-64a81db4398106a52f9167dbf9fe979875dddb7a.tar.xz packages-64a81db4398106a52f9167dbf9fe979875dddb7a.zip |
user/libunistring: bump, enable tests
-rw-r--r-- | user/libunistring/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/user/libunistring/APKBUILD b/user/libunistring/APKBUILD new file mode 100644 index 000000000..95a2e3608 --- /dev/null +++ b/user/libunistring/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=libunistring +pkgver=0.9.10 +pkgrel=0 +pkgdesc="Library for manipulating Unicode strings and C strings" +url="https://www.gnu.org/software/libunistring/" +arch="all" +license="GPL-2.0+ OR LGPL-3.0+" +depends="" +makedepends="" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.gnu.org/gnu/libunistring/libunistring-$pkgver.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-static + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + rm -f "$pkgdir"/usr/lib/charset.alias +} + +sha512sums="01dcab6e05ea4c33572bf96cc0558bcffbfc0e62fc86410cef06c1597a0073d5750525fe2dee4fdb39c9bd704557fcbab864f9645958108a2e07950bc539fe54 libunistring-0.9.10.tar.xz" |