# Maintainer: Levente Polyak # Contributor: Bartłomiej Piotrowski # Contributor: Jan de Groot # Contributor: Sergej Pupykin # Contributor: Emmanuel 'guinness' Boudreault # Contributor: Patrick McCarty pkgname=libunistring pkgver=1.0 pkgrel=1 pkgdesc='Library for manipulating Unicode strings and C strings' url='https://www.gnu.org/software/libunistring/' arch=(x86_64) license=(GPL) depends=(glibc) provides=('libunistring.so') source=(https://ftp.gnu.org/gnu/$pkgname/${pkgname}-${pkgver}.tar.xz{,.sig}) validpgpkeys=('462225C3B46F34879FC8496CD605848ED7E69871' # Daiki Ueno '9001B85AF9E1B83DF1BDA942F5BE8B267C6A406D') # Bruno Haible (Open Source Development) sha256sums=('5bab55b49f75d77ed26b257997e919b693f29fd4a1bc22e0e6e024c246c72741' 'SKIP') b2sums=('8208fe33d4ac2f015b0efb56b0c7dd87afc4bb1c6ca4eb3ded86d7e2101d7b7f68bfd8991af4b6dd408282ec73f134ee0b884e761ff6d52e8a1e398326aec420' 'SKIP') prepare() { cd $pkgname-$pkgver # https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=cca32830b5 sed -i '/pragma weak pthread_create/d' tests/glthread/thread.h } build() { cd $pkgname-$pkgver ./configure --prefix=/usr make } check() { make -C $pkgname-$pkgver check } package() { make -C $pkgname-$pkgver DESTDIR="$pkgdir" install } # vim: ts=2 sw=2 et: