diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-04 03:41:18 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-04 03:41:18 +0000 |
commit | 9e555a53b531cf1dd49762d2815cb6bbfca55bfa (patch) | |
tree | b0fcb3f010943def92b1d663e2263cc6686211e5 /community/luaexpat | |
parent | 86953d17fbdfc3b8b89878f1ec5f911568657761 (diff) |
Fri Apr 4 03:35:25 UTC 2014
Diffstat (limited to 'community/luaexpat')
-rw-r--r-- | community/luaexpat/PKGBUILD | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/community/luaexpat/PKGBUILD b/community/luaexpat/PKGBUILD index 9ae182732..1bf2abbff 100644 --- a/community/luaexpat/PKGBUILD +++ b/community/luaexpat/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 81392 2012-12-19 13:28:13Z seblu $ +# $Id: PKGBUILD 108781 2014-04-03 16:52:35Z spupykin $ # 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=4 +pkgver=1.3.0 +pkgrel=1 pkgdesc='SAX XML parser based on the Expat library' arch=('i686' 'x86_64') url='http://matthewwild.co.uk/projects/luaexpat/' @@ -13,12 +13,10 @@ license=('MIT') makedepends=('gcc' 'lua' 'lua51' 'expat') source=("http://matthewwild.co.uk/projects/luaexpat/luaexpat-$pkgver.tar.gz" 'config.51' - 'config.52' - 'lua52.patch') -md5sums=('03efe50c7f30a34580701e6527d7bfee' + 'config.52') +md5sums=('3c20b5795e7107f847f8da844fbfe2da' '64abbf5b602e0e31b68db2925a5e6b2f' - '60ae0633ac6f829cc3359f3533252eb0' - '21da93cbf0d3cef80d00e2380b7c2679') + '60ae0633ac6f829cc3359f3533252eb0') build() { # 5.1 @@ -26,21 +24,19 @@ build() { cp -a $pkgbase-$pkgver $pkgbase-$pkgver-51 cd $pkgbase-$pkgver-51 cp -L "$srcdir/config.51" config - make LUA_INC=/usr/include/lua5.1 + make LUA_V=5.1 # 5.2 msg2 "Building $pkgbase with lua 5.2" cd "$srcdir/$pkgbase-$pkgver" - patch -p1 < "$srcdir/lua52.patch" cp -L "$srcdir/config.52" config - make + make LUA_V=5.2 } package_lua-expat() { depends=('lua' 'expat') cd $pkgbase-$pkgver - make DESTDIR="$pkgdir" install - mv usr "$pkgdir" + make LUA_V=5.2 DESTDIR="$pkgdir" install install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html" } @@ -50,7 +46,6 @@ package_lua51-expat() { conflicts=('luaexpat') cd $pkgbase-$pkgver-51 - make DESTDIR="$pkgdir" install - mv usr "$pkgdir" + make LUA_V=5.1 DESTDIR="$pkgdir" install install -Dm0644 doc/us/license.html "$pkgdir/usr/share/licenses/$pkgname/license.html" } |