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 sha256sums=('eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7'
21 b2sums=('25d162d9d510cc35ad4209acceb9b06bcc0553b8ce56e94f8df12c4df64d91abfc4a9e15b50b5c8d5b9672939305a394a7e83f1892258defb7ae5ac2ccf79dfb'
26 # https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=cca32830b5
27 sed -i '/pragma weak pthread_create/d' tests/glthread/thread.h
32 ./configure --prefix=/usr
37 make -C $pkgname-$pkgver check
41 make -C $pkgname-$pkgver DESTDIR="$pkgdir" install