sbcl 2.1.11 rebuild
[arch-packages.git] / libunistring / trunk / PKGBUILD
blob0a6e93d7e9563554502a6ab89c0d5a4151faa7eb
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>
8 pkgname=libunistring
9 pkgver=0.9.10
10 pkgrel=3
11 pkgdesc='Library for manipulating Unicode strings and C strings'
12 url='https://www.gnu.org/software/libunistring/'
13 arch=(x86_64)
14 license=(GPL)
15 depends=(glibc)
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'
20             'SKIP')
21 b2sums=('25d162d9d510cc35ad4209acceb9b06bcc0553b8ce56e94f8df12c4df64d91abfc4a9e15b50b5c8d5b9672939305a394a7e83f1892258defb7ae5ac2ccf79dfb'
22         'SKIP')
24 prepare() {
25   cd $pkgname-$pkgver
26   # https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=cca32830b5
27   sed -i '/pragma weak pthread_create/d' tests/glthread/thread.h
30 build() {
31   cd $pkgname-$pkgver
32   ./configure --prefix=/usr
33   make
36 check() {
37   make -C $pkgname-$pkgver check
40 package() {
41   make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
44 # vim: ts=2 sw=2 et: