diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-04-21 21:35:13 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-04-22 02:22:33 -0300 |
commit | 4cfce15b44fbc234a2a775245bf93be0fda7c8be (patch) | |
tree | f4ef2b47eedbee57c14f8ce6940e4a52edd4b452 /libre/libgcrypt-static | |
parent | dd6f2233da30675264c9ca5bb175c1fa6171aa62 (diff) |
libgcrypt-static: add new package to [libre]
Diffstat (limited to 'libre/libgcrypt-static')
-rw-r--r-- | libre/libgcrypt-static/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/libre/libgcrypt-static/PKGBUILD b/libre/libgcrypt-static/PKGBUILD new file mode 100644 index 000000000..85656d6af --- /dev/null +++ b/libre/libgcrypt-static/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Márcio Silva <coadde@parabola.nu> +# based of libgcrypt + +_pkgname=libgcrypt +pkgname=libgcrypt-static +pkgver=1.7.0 +pkgrel=1 +pkgdesc="General purpose cryptographic library based on the code from GnuPG (static libraries only)" +arch=(i686 x86_64 armv7h) +url="http://www.gnupg.org" +license=('LGPL') +depends=('libgpg-error-static' 'libgcrypt') +options=('!emptydirs' 'staticlibs') +# https://www.gnupg.org/download/integrity_check.html +source=(ftp://ftp.gnupg.org/gcrypt/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2{,.sig}) +sha1sums=('f840b737faafded451a084ae143285ad68bbfb01' + 'SKIP') +validpgpkeys=('031EC2536E580D8EA286A9F22071B08A33BD3F06' # "NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>" + 'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') # Werner Koch + +#prepare() { +# cd ${_pkgname}-${pkgver} +#} + +build() { + cd ${_pkgname}-${pkgver} + ./configure --prefix=/usr \ + --enable-static \ + --disable-padlock-support + 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* +} |