summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/expat/PKGBUILD
blob: 0d63ac7c7730ff66dcdf573559506e0e0cea1f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>

pkgname=expat
pkgver=2.0.1
pkgrel=1
pkgdesc="An XML Parser library written in C"
arch=(i686 x86_64)
license=('custom')
depends=('glibc')
options=('!libtool')
source=(http://heanet.dl.sourceforge.net/sourceforge/expat/${pkgname}-${pkgver}.tar.gz)
url="http://expat.sourceforge.net/"
md5sums=('ee8b492592568805593f81f8cdf2a04c')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${startdir}/pkg install
  install -m644 -D COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
}