summaryrefslogtreecommitdiffstats
path: root/abs/core/npth/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-20 22:07:04 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-20 22:07:04 (GMT)
commitc8ab9c630d18bd25a0f696b31117f03682feb490 (patch)
treee864e25b482643839dda02a04a6b6cb0036dd559 /abs/core/npth/PKGBUILD
parent26e31a1075b1720efa67bf979a5b57609c3793bb (diff)
downloadlinhes_pkgbuild-c8ab9c630d18bd25a0f696b31117f03682feb490.zip
linhes_pkgbuild-c8ab9c630d18bd25a0f696b31117f03682feb490.tar.gz
linhes_pkgbuild-c8ab9c630d18bd25a0f696b31117f03682feb490.tar.bz2
npth: dep of gnupg
Diffstat (limited to 'abs/core/npth/PKGBUILD')
-rw-r--r--abs/core/npth/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/core/npth/PKGBUILD b/abs/core/npth/PKGBUILD
new file mode 100644
index 0000000..8ff7904
--- /dev/null
+++ b/abs/core/npth/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
+
+pkgname=npth
+pkgver=1.5
+pkgrel=1
+pkgdesc='New portable threads library'
+url='http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git'
+license=('LGPL')
+options=('!libtool')
+arch=('x86_64')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6'
+ '46CC730865BB5C78EBABADCF04376F3EE0856959'
+ '031EC2536E580D8EA286A9F22071B08A33BD3F06'
+ 'D238EA65D64C67ED4C3073F28A861B1C7EFD60D9')
+source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha256sums=('294a690c1f537b92ed829d867bee537e46be93fbd60b16c04630fbbfcd9db3c2'
+ 'SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --enable-maintainer-mode
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}