diff options
Diffstat (limited to 'libre/gnutls-static/PKGBUILD')
-rw-r--r-- | libre/gnutls-static/PKGBUILD | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/libre/gnutls-static/PKGBUILD b/libre/gnutls-static/PKGBUILD deleted file mode 100644 index d381417fc..000000000 --- a/libre/gnutls-static/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Maintainer: Márcio Silva <coadde@parabola.nu> -# based of gnutls - -_pkgname=gnutls -pkgname=gnutls-static -pkgver=3.4.11 -pkgrel=1 -pkgdesc="A library which provides a secure layer over a reliable transport layer (static libraries only)" -arch=('i686' 'x86_64' 'armv7h') -license=('GPL3' 'LGPL2.1') -url="http://www.gnutls.org/" -options=('staticlibs') -depends=('gcc-libs-static' 'libtasn1-static' 'readline-static' 'nettle-static' 'p11-kit-static' 'gnutls') -source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/${_pkgname}-${pkgver}.tar.xz{,.sig}) -md5sums=('4da148b5a0048aaac4961e2d9ba95798' - 'SKIP') -validpgpkeys=('0424D4EE81A0E3D119C6F835EDA21E94B565716F' - '1F42418905D8206AA754CCDC29EE58B996865171') - # "Simon Josefsson <simon@josefsson.org>" - # "Nikos Mavrogiannopoulos <nmav@gnutls.org> - -build() { - cd ${_pkgname}-${pkgver} - - # disable libidn for security reasons: - # http://lists.gnupg.org/pipermail/gnutls-devel/2015-May/007582.html - - ./configure --prefix=/usr \ - --with-zlib \ - --enable-static \ - --without-idn \ - --enable-guile --with-guile-site-dir=no \ - --with-default-trust-store-pkcs11="pkcs11:model=p11-kit-trust;manufacturer=PKCS%2311%20Kit" - make -} - -check() { - cd ${_pkgname}-${pkgver} - make check -} - -package() { - cd ${_pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - - # remove conflicting files - rm -vr ${pkgdir}/usr/{bin,include,lib/pkgconfig,share} - rm -v ${pkgdir}/usr/lib/guile/*/*.so* - rm -v ${pkgdir}/usr/lib/lib*.so* -} |