sbcl rebuild
[arch-packages.git] / npth / repos / core-x86_64 / PKGBUILD
blob825fc3131677deaa21b545fa48aa911d78096602
1 # Maintainer: David Runge <dvzrv@archlinux.org>
2 # Contributor: Gaetan Bisson <bisson@archlinux.org>
4 pkgname=npth
5 pkgver=1.6
6 pkgrel=3
7 pkgdesc='The new GNU portable threads library'
8 arch=('x86_64')
9 url="https://www.gnupg.org/software/npth/index.html"
10 license=('LGPL2.1')
11 depends=('glibc' 'sh')
12 provides=('libnpth.so')
13 source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
14 sha512sums=('2ed1012e14a9d10665420b9a23628be7e206fd9348111ec751349b93557ee69f1176bcf7e6b195b35b1c44a5e0e81ee33b713f03d79a33d1ecd9037035afeda2'
15             'SKIP')
16 b2sums=('665fdb2f4cbe59750b6b4b7c2701ee80a23a122df10c9f8be47c4af5f3bf5968f709637ab3f4878bb68609752fbb6ce1364e109fdfeba64e4db258733a33f3fc'
17         'SKIP')
18 validpgpkeys=(
19   'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6'  # Werner Koch (dist sig)
20   '46CC730865BB5C78EBABADCF04376F3EE0856959'  # David Shaw (GnuPG Release Signing Key)
21   '031EC2536E580D8EA286A9F22071B08A33BD3F06'  # NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>
22   'D238EA65D64C67ED4C3073F28A861B1C7EFD60D9'  # Werner Koch (Release Signing Key)
25 prepare() {
26   cd "${pkgname}-${pkgver}"
27   autoreconf -fiv
30 build() {
31   cd "${pkgname}-${pkgver}"
32   ./configure --prefix=/usr
33   make
36 check() {
37   cd "${pkgname}-${pkgver}"
38   make check
41 package() {
42   cd "${pkgname}-${pkgver}"
43   make DESTDIR="${pkgdir}" install
44   install -vDm 644 {README,NEWS,ChangeLog} \
45     -t "${pkgdir}/usr/share/doc/${pkgname}"