archrelease: copy trunk to community-any
[arch-community.git] / lib32-libidn / repos / multilib-x86_64 / PKGBUILD
blobe9528ab04ffccbf188792c1cc1a72aedcbaa57f1
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 _pkgbasename=libidn
4 pkgname=lib32-$_pkgbasename
5 pkgver=1.41
6 pkgrel=1
7 pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications (32 bit)"
8 url="https://www.gnu.org/software/libidn/"
9 arch=('x86_64')
10 license=('GPL3' 'LGPL')
11 depends=('lib32-glibc' "$_pkgbasename>=$pkgver")
12 source=("https://ftp.gnu.org/gnu/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz"{,.sig})
13 validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C'  # Simon Josefsson <simon@josefsson.org>
14               'B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE'  # Simon Josefsson <simon@josefsson.org>
15               '1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen@gmx.de>
16 sha256sums=('884d706364b81abdd17bee9686d8ff2ae7431c5a14651047c68adf8b31fd8945'
17             'SKIP')
19 build() {
20   cd ${_pkgbasename}-${pkgver}
22   ./configure \
23     CC='gcc -m32' \
24     --prefix=/usr \
25     --libdir=/usr/lib32
26   make
29 package() {
30   cd ${_pkgbasename}-${pkgver}
32   make DESTDIR="${pkgdir}" install
33   rm -rf "${pkgdir}"/usr/{bin,include,share}