summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-21 21:16:06 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-22 02:22:33 -0300
commitdd6f2233da30675264c9ca5bb175c1fa6171aa62 (patch)
tree0d3d9fd2afd8a0eee7512dbbc28f8920bb79a0ec /libre
parenteeaf0d07a2d2eaa4d5342dbe31b2993bf20f8397 (diff)
libgpg-error-static: add new package to [libre]
Diffstat (limited to 'libre')
-rw-r--r--libre/libgpg-error-static/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/libre/libgpg-error-static/PKGBUILD b/libre/libgpg-error-static/PKGBUILD
new file mode 100644
index 000000000..88de0714f
--- /dev/null
+++ b/libre/libgpg-error-static/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# based of libgpg-error
+
+_pkgname=libgpg-error
+pkgname=libgpg-error-static
+pkgver=1.21
+pkgrel=1
+pkgdesc="Support library for libgcrypt (static libraries only)"
+arch=(i686 x86_64 armv7h)
+url="http://www.gnupg.org"
+license=('LGPL')
+depends=('libgpg-error')
+options=('staticlibs')
+source=(ftp://ftp.gnupg.org/gcrypt/libgpg-error/${_pkgname}-${pkgver}.tar.bz2{,.sig})
+ #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/libgpg-error/${_pkgname}-${pkgver}.tar.bz2)
+options=('staticlibs')
+# https://www.gnupg.org/download/integrity_check.html
+sha1sums=('ef1dfb2f8761f019091180596e9e638d8cc37513'
+ 'SKIP')
+validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ ./configure --prefix=/usr --enable-static
+ make
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}/" install
+
+ # remove conflicting files
+ rm -vr ${pkgdir}/usr/{bin,include,share}
+ rm -v ${pkgdir}/usr/lib/lib*.so*
+}