summaryrefslogtreecommitdiff
path: root/community/xmlstarlet
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-24 11:24:03 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-04-24 11:24:03 -0300
commit2792638784d70e22bfff1827f7e283c3158e58cf (patch)
tree0bc166c585db3935dad185cadc451d7ea0affdd3 /community/xmlstarlet
parent6cfdf260dd579c730267c9588c695313279d3fab (diff)
parentb85f74973225b6dfb20c78cbbe5124a4d27c170b (diff)
Merge branch 'master' of ssh://gparabola/abslibre-mips64el
Diffstat (limited to 'community/xmlstarlet')
-rw-r--r--community/xmlstarlet/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/xmlstarlet/PKGBUILD b/community/xmlstarlet/PKGBUILD
new file mode 100644
index 000000000..b81f4a552
--- /dev/null
+++ b/community/xmlstarlet/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 69626 2012-04-20 16:57:50Z 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.3.1
+pkgrel=1
+pkgdesc="A set of tools to transform, query, validate, and edit XML documents"
+arch=('i686' 'x86_64')
+url="http://xmlstar.sourceforge.net/"
+license=('MIT')
+depends=('libxslt>=1.1.9')
+source=("xmlstarlet-$pkgver.tar.gz::http://sourceforge.net/projects/xmlstar/files/xmlstarlet/$pkgver/xmlstarlet-$pkgver.tar.gz/download")
+md5sums=('5173ad3f01ec0ba0d54bd1fbfc057abf')
+
+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
+ make
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm0644 Copyright $pkgdir/usr/share/licenses/$pkgname/COPYING
+ ln -s xml ${pkgdir}/usr/bin/xmlstarlet
+}