summaryrefslogtreecommitdiffstats
path: root/abs/core/idnkit
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:33:52 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:33:52 (GMT)
commitf7821feafe58f904fbf83c2f86710ede24641495 (patch)
treee1f6e91d7015960aabd5fff9027d71e9a4acefc7 /abs/core/idnkit
parent1e3c65c23cc0bd339a0de0a16608c9f2f2609182 (diff)
downloadlinhes_pkgbuild-f7821feafe58f904fbf83c2f86710ede24641495.zip
linhes_pkgbuild-f7821feafe58f904fbf83c2f86710ede24641495.tar.gz
linhes_pkgbuild-f7821feafe58f904fbf83c2f86710ede24641495.tar.bz2
idnkit 1.0
-new
Diffstat (limited to 'abs/core/idnkit')
-rw-r--r--abs/core/idnkit/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/core/idnkit/PKGBUILD b/abs/core/idnkit/PKGBUILD
new file mode 100644
index 0000000..2a5fd25
--- /dev/null
+++ b/abs/core/idnkit/PKGBUILD
@@ -0,0 +1,40 @@
+# $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=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
+}