commit e1f2a990a9db08d7f5823d7ea6675e5a5e09a960 Author: xhaa123 Date: Tue Nov 5 19:55:14 2024 +0800 npth 1.7-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..1f97597 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# 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 +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 +}