From b625511a28fd8401f524474b5339e75328595150 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Nov 2011 23:14:47 +0000 Subject: Thu Nov 3 23:14:47 UTC 2011 --- testing/idnkit/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/idnkit/PKGBUILD (limited to 'testing/idnkit') diff --git a/testing/idnkit/PKGBUILD b/testing/idnkit/PKGBUILD new file mode 100644 index 000000000..fddac5102 --- /dev/null +++ b/testing/idnkit/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 141693 2011-11-02 12:18:21Z bisson $ +# Contributor: Igor Nemilentsev +# Maintainer: Gaetan Bisson + +pkgname=idnkit +pkgver=1.0 +pkgrel=2 +pkgdesc='Provides functionalities about Internationalized Domain Name processing' +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') + +backup=('etc/idnalias.conf' 'etc/idn.conf') + +build() { + cd "${srcdir}/idnkit-${pkgver}-src" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --enable-static=no + 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 +} -- cgit v1.2.3-54-g00ecf