summaryrefslogtreecommitdiff
path: root/community/luaexpat/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-12-20 18:59:44 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-12-20 18:59:44 +0100
commit24ac25bb11036f62ff8c578c4d3e3dba5f3dbcef (patch)
tree40446a0370c5278300dbabb70bcface64e7b64a9 /community/luaexpat/PKGBUILD
parent27127b7917b98352703db59967e23688e07a5d24 (diff)
parentfecd6286e00e6e25458a7d1b8b80f6fdb236a7a2 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/instead/PKGBUILD community/luasql/PKGBUILD community/qtcreator/PKGBUILD extra/dosfstools/PKGBUILD
Diffstat (limited to 'community/luaexpat/PKGBUILD')
-rw-r--r--community/luaexpat/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/luaexpat/PKGBUILD b/community/luaexpat/PKGBUILD
index 3dbe1304d..8492a8b80 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' 'mips64el')
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"