From dd6f2233da30675264c9ca5bb175c1fa6171aa62 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 21 Apr 2016 21:16:06 -0300 Subject: libgpg-error-static: add new package to [libre] --- libre/libgpg-error-static/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 libre/libgpg-error-static/PKGBUILD (limited to 'libre') 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 +# 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* +} -- cgit v1.2.3-54-g00ecf