summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/lua-rex/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/main/lua-rex/APKBUILD b/main/lua-rex/APKBUILD
index 04fb74970..fbe60d1cf 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.4.0
-pkgrel=1
+pkgver=2.5.2
+pkgrel=0
pkgdesc="Lua bindings to regular expression library pcre and posix"
url="http://lrexlib.luaforge.net/"
license="MIT"
@@ -9,7 +9,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/3599/lrexlib-$pkgver.zip"
+source="http://luaforge.net/frs/download.php/4685/lrexlib-2.5.2.zip"
_builddir="$srcdir"/lrexlib-$pkgver
@@ -22,7 +22,8 @@ prepare() {
build() {
cd "$_builddir"
- make -j1 build_pcre build_posix
+ make -j1 -C src/pcre
+ make -j1 -C src/posix
}
package() {
@@ -43,4 +44,4 @@ posix() {
cp -a src/posix/rex_posix.so* "$subpkgdir"/usr/lib/lua/5.1
}
-md5sums="c75d4164ac5036219eac87b488ded9b7 lrexlib-2.4.0.zip"
+md5sums="f622dbbd4f552e8edfd3c9250ebb7e92 lrexlib-2.5.2.zip"