58 lines
1.7 KiB
Bash
58 lines
1.7 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=npth
|
|
pkgver=1.7
|
|
pkgrel=01
|
|
pkgdesc='The new GNU portable threads library'
|
|
url="https://www.gnupg.org/software/npth/index.html"
|
|
depends=('glibc' 'sh')
|
|
makedepends=(automake autoconf)
|
|
provides=('libnpth.so')
|
|
source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
|
|
|
|
prepare() {
|
|
cd "${pkgname}-${pkgver}"
|
|
autoreconf -fiv
|
|
}
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -vDm 644 {README,NEWS,ChangeLog} \
|
|
-t "${pkgdir}/usr/share/doc/${pkgname}"
|
|
}
|
|
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(LGPL-2.1-or-later)
|
|
|
|
validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' # Werner Koch (dist sig)
|
|
'46CC730865BB5C78EBABADCF04376F3EE0856959' # David Shaw (GnuPG Release Signing Key)
|
|
'031EC2536E580D8EA286A9F22071B08A33BD3F06' # NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>
|
|
'D238EA65D64C67ED4C3073F28A861B1C7EFD60D9' # Werner Koch (Release Signing Key)
|
|
'6DAA6E64A76D2840571B4902528897B826403ADA') # Werner Koch (dist signing 2020)
|
|
|
|
sha256sums=(8589f56937b75ce33b28d312fccbf302b3b71ec3f3945fde6aaa74027914ad05 # npth-1.7.tar.bz2
|
|
db69d75b3665669185bd16a8911e98284396df7b4d0232c21db9771560fd105a) # npth-1.7.tar.bz2.sig
|
|
|
|
## c7db8b8b26cd98b9a98b506586ecfe7430866869657cfb6430091a1578eebc7f npth-1.7-01-x86_64.pkg.tar.lz
|
|
|