aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-posix/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-posix/APKBUILD')
-rw-r--r--main/lua-posix/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/lua-posix/APKBUILD b/main/lua-posix/APKBUILD
index 00cf9a4fd3..14a99af687 100644
--- a/main/lua-posix/APKBUILD
+++ b/main/lua-posix/APKBUILD
@@ -1,25 +1,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lua-posix
_name=luaposix
-pkgver=5.1.7
-pkgrel=1
+pkgver=5.1.11
+pkgrel=0
pkgdesc="POSIX library for Lua"
url="http://luaforge.net/projects/luaposix/"
arch="all"
license="MIT"
depends="lua"
makedepends="lua-dev"
-source="http://git.alpinelinux.org/cgit/luaposix.git/snapshot/luaposix-$pkgver.tar.bz2"
+source="http://luaforge.net/frs/download.php/4813/luaposix-$pkgver.tar.gz"
replaces="luaposix"
+_builddir="$srcdir"/$_name
build() {
- cd "$srcdir/$_name-$pkgver"
+ cd "$_builddir"
make PREFIX=/usr || return 1
}
package() {
- cd "$srcdir/$_name-$pkgver"
+ cd "$_builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install
}
-md5sums="e7ed42536548ebc109bc1cb73f08b1e9 luaposix-5.1.7.tar.bz2"
+md5sums="edb76911dbdabe98dec49e3d8a126227 luaposix-5.1.11.tar.gz"