npth/PKGBUILD

31 lines
823 B
Bash
Raw Normal View History

2024-11-05 19:55:14 +08:00
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <futurelinux@163.com>
pkgname=npth
pkgver=1.7
pkgrel=1
pkgdesc="The new GNU portable threads library"
arch=('x86_64')
url="https://www.gnupg.org/software/npth/index.html"
license=('LGPL-2.1-or-later')
depends=('glibc' 'bash')
source=(https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
sha256sums=(8589f56937b75ce33b28d312fccbf302b3b71ec3f3945fde6aaa74027914ad05)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE}
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}