diff options
Diffstat (limited to 'community/xmlstarlet/PKGBUILD')
-rw-r--r-- | community/xmlstarlet/PKGBUILD | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/community/xmlstarlet/PKGBUILD b/community/xmlstarlet/PKGBUILD index 8793c80e5..4a0ffad20 100644 --- a/community/xmlstarlet/PKGBUILD +++ b/community/xmlstarlet/PKGBUILD @@ -1,34 +1,29 @@ -# $Id: PKGBUILD 83360 2013-01-30 09:39:18Z spupykin $ +# $Id: PKGBUILD 99079 2013-10-24 09:22:03Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: PyroPeter <abi1789@googlemail.com> # Contributor: BlackEagle <ike.devolder@scarlet.be> # Contributor: chochem <chochem@gmail.com> pkgname=xmlstarlet -pkgver=1.4.2 +pkgver=1.5.0 pkgrel=1 pkgdesc="A set of tools to transform, query, validate, and edit XML documents" arch=('i686' 'x86_64' 'mips64el') url="http://xmlstar.sourceforge.net/" license=('MIT') -depends=('libxslt>=1.1.9') +depends=('libxslt') source=("xmlstarlet-$pkgver.tar.gz::http://sourceforge.net/projects/xmlstar/files/xmlstarlet/$pkgver/xmlstarlet-$pkgver.tar.gz/download") -md5sums=('ee8df42efd2417f74a1f5e3b7fe9e023') +md5sums=('0c6db295d0cf9ff0d439edb755b7e8f6') build() { cd "$srcdir/$pkgname-$pkgver" - - local xsltlibs=$(pkg-config --libs libxslt libexslt) - local xmllibs=$(pkg-config --libs libxml-2.0) - - LIBXSLT_PREFIX=/usr \ - LIBXML_PREFIX=/usr \ - LIBXSLT_LIBS="${xsltlibs}" \ - LIBXML_LIBS="${xmllibs}" \ - ./configure --prefix=/usr + LIBXSLT_PREFIX=/usr LIBXML_PREFIX=/usr ./configure --prefix=/usr make - make DESTDIR="${pkgdir}" install +} +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install install -Dm0644 Copyright $pkgdir/usr/share/licenses/$pkgname/COPYING ln -s xml ${pkgdir}/usr/bin/xmlstarlet } |