Commit ed3ae92a authored by Luca Giambonini's avatar Luca Giambonini

lib32 libidn and libidn2

parent 7e88bd38
_pkgbasename=libidn
pkgname=lib32-$_pkgbasename
pkgver=1.33
pkgver=1.35
pkgrel=1
pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications (32 bit)"
url="http://www.gnu.org/software/libidn/"
......@@ -8,27 +8,20 @@ arch=('x86_64')
license=('GPL3' 'LGPL')
depends=('lib32-glibc' "$_pkgbasename=$pkgver")
makedepends=('lib32-gcc-libs')
options=('!libtool')
source=(http://ftp.gnu.org/gnu/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
sha1sums=('57872fdc665dcc585e16f4ac0bb35374b1103f7e')
source=(https://ftp.gnu.org/gnu/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz{,.sig})
sha256sums=('f11af1005b46b7b15d057d7f107315a1ad46935c7fcdf243c16e46ec14f0fe1e'
'SKIP')
validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C' # Simon Josefsson <simon@josefsson.org>
'1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen@gmx.de>
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd ${srcdir}/$_pkgbasename-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32
cd ${_pkgbasename}-${pkgver}
./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32'
make
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
mkdir -p "$pkgdir/usr/share/licenses"
ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
cd ${_pkgbasename}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/{bin,include,share}
}
# Maintainer: Levente Polyak <anthraxx@archlinux.org>
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Daurnimator <quae@daurnimator.com>
pkgname=lib32-libidn2
pkgver=2.2.0
pkgrel=1
pkgdesc='Free software implementation of IDNA2008, Punycode and TR46'
url='https://www.gnu.org/software/libidn/#libidn2'
arch=('x86_64')
license=('GPL2' 'LGPL3')
depends=('libidn2' 'lib32-glibc' 'lib32-libunistring')
makedepends=('gtk-doc')
source=(https://ftp.gnu.org/gnu/libidn/libidn2-${pkgver}.tar.gz{,.sig})
sha256sums=('fc734732b506d878753ec6606982bf7b936e868c25c30ddb0d83f7d7056381fe'
'SKIP')
validpgpkeys=('1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen@gmx.de>
prepare() {
cd libidn2-${pkgver}
autoreconf -fvi
}
build() {
cd libidn2-${pkgver}
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
./configure \
--prefix=/usr \
--libdir=/usr/lib32
make
}
check() {
cd libidn2-${pkgver}
make check
}
package() {
cd libidn2-${pkgver}
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{bin,include,share}
}
# vim: ts=2 sw=2 et:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment