# Contributor: Michael Mason # Maintainer: Natanael Copa pkgname=libidn pkgver=1.26 pkgrel=1 pkgdesc="An encode and decode library for internationalized domain names" url="http://www.gnu.org/software/libidn/" arch="all" license="GPL" depends= makedepends="libiconv-dev" install= subpackages="$pkgname-doc $pkgname-dev" source="http://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz" build() { cd "$srcdir/$pkgname-$pkgver" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-nls \ || return 1 make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la } md5sums="7533d14fbbb6c026a1a9eaa2179ccb69 libidn-1.26.tar.gz"