diff options
author | Antonio Rojas | 2019-04-03 06:29:35 +0000 |
---|---|---|
committer | Antonio Rojas | 2019-04-03 06:29:35 +0000 |
commit | ea02f4ca86a09e668131414b74ad6a030b35910d (patch) | |
tree | 3dbb1dc4852e1c29599a44b79707fdc1c9a065ea | |
download | aur-ea02f4ca86a09e668131414b74ad6a030b35910d.tar.gz |
Dropped from repos
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a424c4e5470b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = idnkit + pkgdesc = Provides functionalities about Internationalized Domain Name processing + pkgver = 1.0 + pkgrel = 4 + url = https://www.nic.ad.jp/ja/idn/idnkit/download/ + arch = x86_64 + license = custom:BSD + depends = glibc + options = !makeflags + backup = etc/idnalias.conf + backup = etc/idn.conf + source = https://www.nic.ad.jp/ja/idn/idnkit/download/sources/idnkit-1.0-src.tar.gz + sha1sums = 7d843ffcf9843b7af02079e5a160520f28c75048 + +pkgname = idnkit + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3170dcf76374 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Contributor: Igor Nemilentsev <trezorg@gmail.com> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> + +pkgname=idnkit +pkgver=1.0 +pkgrel=4 +pkgdesc='Provides functionalities about Internationalized Domain Name processing' +url='https://www.nic.ad.jp/ja/idn/idnkit/download/' +license=('custom:BSD') +arch=('x86_64') +depends=('glibc') +backup=('etc/idnalias.conf' 'etc/idn.conf') +options=('!makeflags') +source=("https://www.nic.ad.jp/ja/idn/idnkit/download/sources/idnkit-${pkgver}-src.tar.gz") +sha1sums=('7d843ffcf9843b7af02079e5a160520f28c75048') + +prepare() { + cd idnkit-${pkgver}-src + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" configure +} + +build() { + cd idnkit-${pkgver}-src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/share/man \ + --enable-static=no + make +} + +check() { + cd idnkit-${pkgver}-src + make check +} + +package() { + cd idnkit-${pkgver}-src + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm "${pkgdir}"/etc/*.sample +} |