diff options
Diffstat (limited to 'core/idnkit/PKGBUILD')
-rw-r--r-- | core/idnkit/PKGBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/core/idnkit/PKGBUILD b/core/idnkit/PKGBUILD index 3dd1e0833..2a5fd256c 100644 --- a/core/idnkit/PKGBUILD +++ b/core/idnkit/PKGBUILD @@ -1,13 +1,15 @@ +# $Id: PKGBUILD 142702 2011-11-13 10:10:08Z bisson $ # Contributor: Igor Nemilentsev <trezorg@gmail.com> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=idnkit pkgver=1.0 -pkgrel=1 +pkgrel=2 pkgdesc='Provides functionalities about Internationalized Domain Name processing' -arch=('i686' 'x86_64') url='http://www.nic.ad.jp/ja/idn/idnkit/download/' license=('custom:BSD') +arch=('i686' 'x86_64') +depends=('glibc') options=('!makeflags' '!libtool') source=("http://www.nic.ad.jp/ja/idn/idnkit/download/sources/idnkit-${pkgver}-src.tar.gz") sha1sums=('7d843ffcf9843b7af02079e5a160520f28c75048') @@ -25,8 +27,14 @@ build() { make } +check() { + cd "${srcdir}/idnkit-${pkgver}-src" + make check +} + package() { cd "${srcdir}/idnkit-${pkgver}-src" make DESTDIR="${pkgdir}" install install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm "${pkgdir}"/etc/*.sample } |