summaryrefslogtreecommitdiff
path: root/community/mxml/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mxml/PKGBUILD')
-rw-r--r--community/mxml/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/mxml/PKGBUILD b/community/mxml/PKGBUILD
new file mode 100644
index 000000000..26b4ca03d
--- /dev/null
+++ b/community/mxml/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 67931 2012-03-16 10:17:49Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Roman Kyrylych <roman@archlinux.org>
+# Contributor: Johannes Sjolund <j.sjolund@gmail.com>
+
+pkgname=mxml
+pkgver=2.7
+pkgrel=1
+pkgdesc="A small XML parsing library"
+arch=('i686' 'x86_64')
+url="http://www.minixml.org/"
+license=('LGPL')
+source=("http://ftp.easysw.com/pub/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('76f2ae49bf0f5745d5cb5d9507774dc9')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+# [ "$CARCH" = x86_64 ] && export CFLAGS="$CFLAGS -fPIC"
+ ./configure --prefix=/usr --enable-shared
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DSTROOT="$pkgdir" install
+ chmod -x "$pkgdir/usr/lib/libmxml.a"
+}