mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
24 lines
735 B
Bash
24 lines
735 B
Bash
|
# Maintainer: dorphell <dorphell@archlinux.org>
|
||
|
# Committer: Judd Vinet <jvinet@zeroflux.org>
|
||
|
|
||
|
pkgname=expat
|
||
|
pkgver=2.0.1
|
||
|
pkgrel=2
|
||
|
pkgdesc="An XML Parser library written in C"
|
||
|
arch=(arm)
|
||
|
license=('custom')
|
||
|
depends=('glibc')
|
||
|
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}"
|
||
|
./configure --prefix=/usr --mandir=/usr/share/man || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
||
|
}
|