1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Jan de Groot <jgc@archlinux.org>
4 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
5 # Contributor: Emmanuel 'guinness' Boudreault
6 # Contributor: Patrick McCarty <pnorcks at gmail dot com>
11 pkgdesc='Library for manipulating Unicode strings and C strings'
12 url='https://www.gnu.org/software/libunistring/'
16 provides=('libunistring.so')
17 source=(https://ftp.gnu.org/gnu/$pkgname/${pkgname}-${pkgver}.tar.xz{,.sig})
18 validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871' # Daiki Ueno <ueno@unixuser.org>
19 '9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D') # Bruno Haible (Open Source Development) <bruno@clisp.org>
20 sha256sums=('5bab55b49f75d77ed26b257997e919b693f29fd4a1bc22e0e6e024c246c72741'
22 b2sums=('8208fe33d4ac2f015b0efb56b0c7dd87afc4bb1c6ca4eb3ded86d7e2101d7b7f68bfd8991af4b6dd408282ec73f134ee0b884e761ff6d52e8a1e398326aec420'
27 # https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=cca32830b5
28 sed -i '/pragma weak pthread_create/d' tests/glthread/thread.h
33 ./configure --prefix=/usr
38 make -C $pkgname-$pkgver check
42 make -C $pkgname-$pkgver DESTDIR="$pkgdir" install