summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-02 23:14:15 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-02 23:14:15 (GMT)
commit2abb2acd1b51e7bdaa2f5e44ac5dfdb321ca4b78 (patch)
tree9b3eeb5b51fa491add93ed37f8af7a8a3228a241
parente268e5d12c420b538dc544d3c4b3d8856cd32e7e (diff)
downloadlinhes_pkgbuild-2abb2acd1b51e7bdaa2f5e44ac5dfdb321ca4b78.zip
linhes_pkgbuild-2abb2acd1b51e7bdaa2f5e44ac5dfdb321ca4b78.tar.gz
linhes_pkgbuild-2abb2acd1b51e7bdaa2f5e44ac5dfdb321ca4b78.tar.bz2
expat: update to 2.1.0-4
-rw-r--r--abs/core/expat/PKGBUILD29
1 files changed, 14 insertions, 15 deletions
diff --git a/abs/core/expat/PKGBUILD b/abs/core/expat/PKGBUILD
index 73688e0..8ba5f58 100644
--- a/abs/core/expat/PKGBUILD
+++ b/abs/core/expat/PKGBUILD
@@ -1,32 +1,31 @@
-# $Id: PKGBUILD 156201 2012-04-16 03:41:12Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Committer: Judd Vinet <jvinet@zeroflux.org>
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=expat
pkgver=2.1.0
-pkgrel=1
-pkgdesc="An XML parser library"
+pkgrel=4
+pkgdesc='An XML parser library'
arch=('i686' 'x86_64')
-url="http://expat.sourceforge.net/"
+url='http://expat.sourceforge.net/'
license=('custom')
depends=('glibc')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/expat/${pkgname}-${pkgver}.tar.gz)
+source=(http://downloads.sourceforge.net/sourceforge/expat/$pkgname-$pkgver.tar.gz)
md5sums=('dd7dab7a5fea97d2a6a43f511449b7cd')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --mandir=/usr/share/man
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
make
}
check() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make check
+ make -C $pkgname-$pkgver check
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}