1 # Maintainer: David Runge <dave@sleepmap.de>
2 # Contributor: speps <speps at aur dot archlinux dot org>
3 # Contributor: Christoph Zeiler <rabyte*gmail>
4 # Contributor: Tom K <tomk@runbox.com>
5 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
6 # Contributor: Philipp Überbacher <murks at lavabit dot com>
11 pkgdesc="C++ wrapper library around the POSIX threads API"
13 url="https://kokkinizita.linuxaudio.org/linuxaudio/"
15 depends=('gcc-libs' 'glibc')
16 provides=('libclthreads.so')
17 source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2")
18 sha512sums=('a91de7a287c2cb9b2ce17e4c158db79bbaeccb278510d11e6c05fcbe9295c26b4d0231fa97800b265decd1d0886b7425f7b5d4cbcb18758be540356408e72131')
21 cd "${pkgname}-${pkgver}/source"
23 # call ldconfig in local context
24 # remove wrongly applied use of PREFIX (line 54,55)
26 -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
27 -e 's/(PREFIX)\/\$//g' \
32 cd "${pkgname}-${pkgver}"
37 cd "${pkgname}-${pkgver}"
38 make DESTDIR="${pkgdir}/" PREFIX='/usr' LIBDIR='/usr/lib' -C source install
39 install -vDm 644 AUTHORS -t "${pkgdir}/usr/share/doc/${pkgname}"