# $Id: PKGBUILD 43319 2009-06-22 10:17:26Z ronald $ # Maintainer: Ronald van Haren # Contributor: Jan de Groot # Contributor: Eric Johnson pkgname=libidn pkgver=1.15 pkgrel=1 pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications" url="http://www.gnu.org/software/libidn/" arch=('i686' 'x86_64') license=('GPL3' 'LGPL') depends=('glibc' 'texinfo') makedepends=('pkgconfig') options=('!libtool') source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) install=libidn.install md5sums=('482a25b7b223e52f967fafd284a1a992') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr make || return 1 make DESTDIR=${pkgdir} install || return 1 # handle info files rm ${pkgdir}/usr/share/info/{dir,libidn-components.png} # nobody is missing a png I assume gzip ${pkgdir}/usr/share/info/* }