Date: Monday, August 20, 2018 @ 06:56:43
Author: bpiotrowski
Revision: 332674
archrelease: copy trunk to testing-x86_64
Added:
expat/repos/testing-x86_64/
expat/repos/testing-x86_64/PKGBUILD
(from rev 332673, expat/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: expat/repos/testing-x86_64/PKGBUILD (from rev 332673,
expat/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-08-20 06:56:43 UTC (rev 332674)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <[email protected]>
+# Contributor: Allan McRae <[email protected]>
+# Contributor: Judd Vinet <[email protected]>
+
+pkgname=expat
+pkgver=2.2.6
+pkgrel=1
+pkgdesc='An XML parser library'
+arch=(x86_64)
+url='https://libexpat.github.io/'
+license=(custom)
+depends=(glibc)
+source=(https://github.com/libexpat/libexpat/releases/download/R_${pkgver//./_}/expat-${pkgver}.tar.bz2{,.asc})
+validpgpkeys=(3D7E959D89FACFEE38371921B00BC66A401A1600) # Sebastian Pipping
+sha256sums=('17b43c2716d521369f82fc2dc70f359860e90fa440bea65b3b85f0b246ea81f2'
+ 'SKIP')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+check() {
+ make -C $pkgname-$pkgver check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "-t$pkgdir/usr/share/licenses/$pkgname" COPYING
+}