Date: Wednesday, November 8, 2017 @ 13:36:00 Author: bpiotrowski Revision: 309039
archrelease: copy trunk to testing-x86_64 Added: expat/repos/testing-x86_64/ expat/repos/testing-x86_64/PKGBUILD (from rev 309038, expat/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: expat/repos/testing-x86_64/PKGBUILD (from rev 309038, expat/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-11-08 13:36:00 UTC (rev 309039) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: Judd Vinet <jvi...@zeroflux.org> + +pkgname=expat +pkgver=2.2.5 +pkgrel=1 +pkgdesc='An XML parser library' +arch=(i686 x86_64) +url='http://expat.sourceforge.net/' +license=(custom) +depends=(glibc) +source=(http://downloads.sourceforge.net/sourceforge/expat/$pkgname-$pkgver.tar.bz2) +md5sums=('789e297f547980fc9ecc036f9a070d49') + +build() { + cd $pkgname-$pkgver + ./configure --prefix=/usr + make +} + +check() { + make -C $pkgname-$pkgver check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +}