summaryrefslogtreecommitdiff
path: root/community/luaexpat
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-20 03:05:00 -0800
committerroot <root@rshg054.dnsready.net>2012-12-20 03:05:00 -0800
commitfecd6286e00e6e25458a7d1b8b80f6fdb236a7a2 (patch)
tree952afb5fdba1e4450e623d86f75b09ad4925bd40 /community/luaexpat
parent19f11e0c4bbeefd65f85546a361e18532b60416a (diff)
Thu Dec 20 02:59:11 PST 2012
Diffstat (limited to 'community/luaexpat')
-rw-r--r--community/luaexpat/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/luaexpat/PKGBUILD b/community/luaexpat/PKGBUILD
index 1e438dfa9..9ae182732 100644
--- a/community/luaexpat/PKGBUILD
+++ b/community/luaexpat/PKGBUILD
@@ -1,18 +1,16 @@
-# $Id: PKGBUILD 81199 2012-12-13 02:04:44Z seblu $
+# $Id: PKGBUILD 81392 2012-12-19 13:28:13Z seblu $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Lucas Hermann Negri <kkndrox@gmail.com>
pkgbase=luaexpat
pkgname=(lua-expat lua51-expat)
pkgver=1.2.0
-pkgrel=3
+pkgrel=4
pkgdesc='SAX XML parser based on the Expat library'
arch=('i686' 'x86_64')
url='http://matthewwild.co.uk/projects/luaexpat/'
license=('MIT')
makedepends=('gcc' 'lua' 'lua51' 'expat')
-replaces=(luaexpat)
-conflicts=(luaexpat)
source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz"
'config.51'
'config.52'
@@ -39,6 +37,7 @@ build() {
package_lua-expat() {
depends=('lua' 'expat')
+
cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install
mv usr "$pkgdir"
@@ -47,6 +46,9 @@ package_lua-expat() {
package_lua51-expat() {
depends=('lua51' 'expat')
+ replaces=('luaexpat')
+ conflicts=('luaexpat')
+
cd $pkgbase-$pkgver-51
make DESTDIR="$pkgdir" install
mv usr "$pkgdir"