PKGBUILDs/core/expat/PKGBUILD

25 lines
751 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: dorphell <dorphell@archlinux.org>
# Committer: Judd Vinet <jvinet@zeroflux.org>
2009-09-26 15:58:33 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=expat
pkgver=2.0.1
pkgrel=2
pkgdesc="An XML Parser library written in C"
arch=(arm)
license=('custom')
2009-09-26 15:58:33 +00:00
depends=()
2009-09-26 14:35:50 +00:00
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/expat/${pkgname}-${pkgver}.tar.gz)
url="http://expat.sourceforge.net/"
md5sums=('ee8b492592568805593f81f8cdf2a04c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2009-09-26 15:58:33 +00:00
./configure --prefix=/opt --mandir=/opt/share/man || return 1
2009-09-26 14:35:50 +00:00
make || return 1
make DESTDIR="${pkgdir}" install || return 1
2009-09-26 15:58:33 +00:00
install -m755 -d "${pkgdir}/opt/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/opt/share/licenses/${pkgname}/" || return 1
2009-09-26 14:35:50 +00:00
}