summaryrefslogtreecommitdiffstats
path: root/main/lua-rex/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-24 09:58:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-24 10:00:47 +0000
commit34ca11f1feafd162be4951d2fc74155e5771c991 (patch)
tree29dfa1bf6914f9225207aa4e76101ac84269d90f /main/lua-rex/APKBUILD
parentaa95d4432bac229a1df718fcb3d52ca51a9f01b6 (diff)
downloadaports-34ca11f1feafd162be4951d2fc74155e5771c991.tar.bz2
aports-34ca11f1feafd162be4951d2fc74155e5771c991.tar.xz
main/lua-rex: upgrade to 2.5.3 and fix circular dep
Diffstat (limited to 'main/lua-rex/APKBUILD')
-rw-r--r--main/lua-rex/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/lua-rex/APKBUILD b/main/lua-rex/APKBUILD
index 744570ceb..36a166800 100644
--- a/main/lua-rex/APKBUILD
+++ b/main/lua-rex/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-rex
-pkgver=2.5.2
-pkgrel=1
+pkgver=2.5.3
+pkgrel=0
pkgdesc="Lua bindings to regular expression library pcre and posix"
url="http://lrexlib.luaforge.net/"
arch="all"
@@ -10,7 +10,7 @@ depends="lua-rex-pcre lua-rex-posix"
makedepends="pcre-dev lua-dev"
install=
subpackages="$pkgname-pcre $pkgname-posix"
-source="http://luaforge.net/frs/download.php/4685/lrexlib-2.5.2.zip"
+source="http://luaforge.net/frs/download.php/4759/lrexlib-2.5.3.zip"
_builddir="$srcdir"/lrexlib-$pkgver
@@ -33,6 +33,7 @@ package() {
pcre() {
pkgdesc="Lua bindings to pcre regular expressions library"
+ depends=
cd "$_builddir"
install -d "$subpkgdir"/usr/lib/lua/5.1
cp -a src/pcre/rex_pcre.so* "$subpkgdir"/usr/lib/lua/5.1
@@ -40,9 +41,10 @@ pcre() {
posix() {
pkgdesc="Lua bindings to posix regular expressions library"
+ depends=
cd "$_builddir"
install -d "$subpkgdir"/usr/lib/lua/5.1
cp -a src/posix/rex_posix.so* "$subpkgdir"/usr/lib/lua/5.1
}
-md5sums="f622dbbd4f552e8edfd3c9250ebb7e92 lrexlib-2.5.2.zip"
+md5sums="a51c5ff54d85bfd1222ddbfd922a7d51 lrexlib-2.5.3.zip"