diff options
author | root <root@rshg054.dnsready.net> | 2013-07-23 01:23:27 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-23 01:23:27 -0700 |
commit | 113b1085958460c3c47be9d93c1b851f60d5d662 (patch) | |
tree | 27457555c3f1cf51a08dd7f25ee63d4303623b1b /extra/idnkit | |
parent | 5072cee45a3dc5638ba936dfb4e717bf918b6d06 (diff) |
Tue Jul 23 01:22:55 PDT 2013
Diffstat (limited to 'extra/idnkit')
-rw-r--r-- | extra/idnkit/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/idnkit/PKGBUILD b/extra/idnkit/PKGBUILD index 13135127c..eb42dafc1 100644 --- a/extra/idnkit/PKGBUILD +++ b/extra/idnkit/PKGBUILD @@ -1,23 +1,27 @@ -# $Id: PKGBUILD 180328 2013-03-20 15:10:14Z bisson $ +# $Id: PKGBUILD 191237 2013-07-22 00:42:58Z eric $ # Contributor: Igor Nemilentsev <trezorg@gmail.com> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=idnkit pkgver=1.0 -pkgrel=2 +pkgrel=3 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') +backup=('etc/idnalias.conf' 'etc/idn.conf') 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') +prepare() { + cd idnkit-${pkgver}-src + sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" configure +} build() { - cd "${srcdir}/idnkit-${pkgver}-src" + cd idnkit-${pkgver}-src ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -28,12 +32,12 @@ build() { } check() { - cd "${srcdir}/idnkit-${pkgver}-src" + cd idnkit-${pkgver}-src make check } package() { - cd "${srcdir}/idnkit-${pkgver}-src" + cd idnkit-${pkgver}-src make DESTDIR="${pkgdir}" install install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" rm "${pkgdir}"/etc/*.sample |