diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-04-18 10:29:03 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-04-18 12:53:23 -0300 |
commit | c1169c2a7aba84acf9aff2f61dd159343ec3679b (patch) | |
tree | 272ef178e49873b20c67e43e3051034500aae432 /libre/libtasn1-static/PKGBUILD | |
parent | 39c12e2fbdd5e54b8b4135b882f21c7ef1b52ea2 (diff) | |
download | abslibre-c1169c2a7aba84acf9aff2f61dd159343ec3679b.tar.gz abslibre-c1169c2a7aba84acf9aff2f61dd159343ec3679b.tar.bz2 abslibre-c1169c2a7aba84acf9aff2f61dd159343ec3679b.zip |
nettle-static: add new package to [libre]
Diffstat (limited to 'libre/libtasn1-static/PKGBUILD')
-rw-r--r-- | libre/libtasn1-static/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libre/libtasn1-static/PKGBUILD b/libre/libtasn1-static/PKGBUILD new file mode 100644 index 000000000..24a2ebb48 --- /dev/null +++ b/libre/libtasn1-static/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Márcio Silva <coadde@parabola.nu> +# based of libtasn1 + +_pkgname=libtasn1 +pkgname=libtasn1-static +pkgver=4.8 +pkgrel=1 +pkgdesc="The ASN.1 library used in GNUTLS (static libraries only)" +arch=('i686' 'x86_64' 'armv7h') +license=('GPL3' 'LGPL') +url="http://www.gnu.org/software/libtasn1/" +depends=('texinfo-static' 'libtasn1') +options=('staticlibs') +source=(http://ftp.gnu.org/gnu/libtasn1/${_pkgname}-${pkgver}.tar.gz{,.sig}) +md5sums=('9a6767705725544f2b86670dcfb34107' + 'SKIP') +validpgpkeys=('1F42418905D8206AA754CCDC29EE58B996865171') #Nikos Mavrogiannopoulos <nmav@gnutls.org> + +build() { + cd ${_pkgname}-${pkgver} + ./configure --prefix=/usr \ + --with-packager=Parabola \ + --with-packager-bug-reports="http://labs.parabola.nu/" \ + --with-packager-version=${pkgver}-${pkgrel} + 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/lib*.so* +} |