diff options
Diffstat (limited to 'multilib/lib32-libtasn1/PKGBUILD')
-rw-r--r-- | multilib/lib32-libtasn1/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/multilib/lib32-libtasn1/PKGBUILD b/multilib/lib32-libtasn1/PKGBUILD new file mode 100644 index 000000000..5e5d04580 --- /dev/null +++ b/multilib/lib32-libtasn1/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> +# Contributor: josephgbr <rafael.f.f1 at gmail.com> + +_pkgbase=libtasn1 +pkgname=lib32-${_pkgbase} +pkgver=2.13 +pkgrel=2 +pkgdesc="The ASN.1 library used in GNUTLS (32 bit)" +arch=('x86_64') +license=('GPL3' 'LGPL') +url="http://www.gnu.org/software/libtasn1/" +depends=('lib32-glibc' ${_pkgbase}) +makedepends=('gcc-multilib') +options=('!libtool') +source=("http://ftp.gnu.org/gnu/libtasn1/${_pkgbase}-${pkgver}.tar.gz") +sha1sums=('89120584bfedd244dab92df99e955a174c481851') + +build() { + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' + + cd ${_pkgbase}-${pkgver} + ./configure --prefix=/usr --libdir=/usr/lib32 + make +} + +package() { + cd ${_pkgbase}-${pkgver} + make DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}/usr/"{bin,include,share} +} |