summaryrefslogtreecommitdiffstats
path: root/abs/core/libidn/PKGBUILD
blob: 170388c3b04c20a140f49b8bfe58a060ce320c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 19577 2008-11-27 10:01:45Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Jan de Groot <jgc.archlinux.org>
# Contributor: Eric Johnson <eric.archlinux.org>

pkgname=libidn
pkgver=1.11
pkgrel=1
pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications"
url="http://www.gnu.org/software/libidn/"
arch=('i686' 'x86_64')
license=('GPL3' 'LGPL2')
depends=('glibc')
makedepends=('pkgconfig')
options=('!libtool')
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
install=libidn.install
md5sums=('8859b17928f84b899b19e72bfa1c6dbf')
sha1sums=('08cffdcf9736f4ac61acc32e79a1d9672f640351')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${pkgdir} install || return 1

  # handle info files
  rm $pkgdir/usr/share/info/{dir,libidn-components.png} # nobody is missing a png I assume
  gzip $pkgdir/usr/share/info/*
}