diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-03-23 03:07:53 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-03-23 03:07:53 -0300 |
commit | bd6b56f2ab81a4f1a23c98e67b083ee519f27279 (patch) | |
tree | 666a4e7525ff8cbc6ff4a4466f43fa4de92e2021 /libre/libtasn1 | |
parent | 76a858e503d68ff86fb5df3f159019c10b18ce78 (diff) | |
download | abslibre-bd6b56f2ab81a4f1a23c98e67b083ee519f27279.tar.gz abslibre-bd6b56f2ab81a4f1a23c98e67b083ee519f27279.tar.bz2 abslibre-bd6b56f2ab81a4f1a23c98e67b083ee519f27279.zip |
gnome-{desktop2,menus},libtasn1,usermin,xsp,webmin: adding packages to [libre] repo due rebranding
Diffstat (limited to 'libre/libtasn1')
-rw-r--r-- | libre/libtasn1/PKGBUILD | 36 | ||||
-rw-r--r-- | libre/libtasn1/libtasn1.install | 18 |
2 files changed, 54 insertions, 0 deletions
diff --git a/libre/libtasn1/PKGBUILD b/libre/libtasn1/PKGBUILD new file mode 100644 index 000000000..2131a323b --- /dev/null +++ b/libre/libtasn1/PKGBUILD @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=libtasn1 +pkgver=3.2 +pkgrel=1.1 +pkgdesc="The ASN.1 library used in GNUTLS, Parabola rebranded" +arch=('i686' 'x86_64' 'mips64el') +license=('GPL3' 'LGPL') +url="http://www.gnu.org/software/libtasn1/" +depends=('glibc' 'texinfo') +options=('!libtool') +install=libtasn1.install +source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig}) +md5sums=('1b07629163025b9693aae9b8957842b2' + '67bdae9b78ac7bbfa2ab24c7d46bd577') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --with-packager="Parabola GNU/Linux-libre" \ + --with-packager-bug-reports="https://labs.parabola.nu/" \ + --with-packager-version=${pkgver}-${pkgrel} + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/libre/libtasn1/libtasn1.install b/libre/libtasn1/libtasn1.install new file mode 100644 index 000000000..2d1ecc09f --- /dev/null +++ b/libre/libtasn1/libtasn1.install @@ -0,0 +1,18 @@ +info_dir=/usr/share/info +info_files=(libtasn1.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} |