diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-06 09:56:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-06 09:56:32 +0000 |
commit | ef41e80032d26ca0f052f9eaec4c995efa06356f (patch) | |
tree | 763576dfdf09b36ae148c9754c1ed85be91cf331 /main/lua-socket/APKBUILD | |
parent | 1138dee508f2cd1ab1eadd1f67107affc5456902 (diff) | |
download | aports-ef41e80032d26ca0f052f9eaec4c995efa06356f.tar.bz2 aports-ef41e80032d26ca0f052f9eaec4c995efa06356f.tar.xz |
main/lua-socket: upgrade to git snapshot for lua 5.3 support
Diffstat (limited to 'main/lua-socket/APKBUILD')
-rw-r--r-- | main/lua-socket/APKBUILD | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/main/lua-socket/APKBUILD b/main/lua-socket/APKBUILD index 6882347b43..d2b12515da 100644 --- a/main/lua-socket/APKBUILD +++ b/main/lua-socket/APKBUILD @@ -1,11 +1,12 @@ # Contributor: Mika Havela <mika.havela@gmail.com> # Maintainer: Mika Havela <mika.havela@gmail.com> -_luaversions="5.1 5.2" +_luaversions="5.1 5.2 5.3" pkgname=lua-socket _name=luasocket -pkgver=3.0_rc1 +pkgver=3.0_rc1_git20150301 pkgrel=0 -_ver=${pkgver/_/-} +_ver=${pkgver%_git*} +_ver=${_ver/_rc/-rc} pkgdesc="Networking library for Lua" url="http://luaforge.net/projects/luasocket/" arch="all" @@ -19,8 +20,10 @@ for _i in $_luaversions; do subpackages="$subpackages lua$_i-socket:split_${_i/./_}" done source="luasocket-$_ver.tar.gz::https://github.com/diegonehab/luasocket/archive/v$_ver.tar.gz + git.patch lua-cflags.patch - include-luasocket.patch" + include-luasocket.patch + " _sdir="$srcdir/$_name-$_ver" @@ -59,6 +62,7 @@ package() { _split() { local d= _ver=$1 pkgdesc="Networking library for Lua $_ver" + install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" replaces="$pkgname" depends= for d in usr/lib/lua usr/share/lua; do @@ -74,11 +78,14 @@ for _i in $_luaversions; do done md5sums="08bd2f265b244eb4bf5c2c36bf89b759 luasocket-3.0-rc1.tar.gz -f869d0f81e347291405fb53dff9a408a lua-cflags.patch +2e14aba126cec984e1824a4da35d45f8 git.patch +8adb3bb6f4c6f63de8c56412ef623953 lua-cflags.patch 4bcbbc8d3383db94223155fc7a6d454e include-luasocket.patch" sha256sums="8b67d9b5b545e1b694753dab7bd6cdbc24c290f2b21ba1e14c77b32817ea1249 luasocket-3.0-rc1.tar.gz -bbcead4850fcdf6711c70b48db4db17e06fedcae45c4c53fd814ff6f0d9fe4ce lua-cflags.patch +d64d35ba14a8b1381c20273d1390ee7c170b4ff566ad503621cac9f4c129bbb8 git.patch +e5d38d3b1484b61ab43627efdc302f78c24733aa2d422e6745fe273b1a56d94b lua-cflags.patch 42b1a439805efaf33110e01a53798b3e8d044101470808fe9478ca3be0ae5165 include-luasocket.patch" sha512sums="f6efce259aaacaa11472911471f8a13b118fe009b8953a82c6aa18b9ec829cd1293180904e56935cb130d36d267e3f27c91db2d78e03f7488f3e100571ed0540 luasocket-3.0-rc1.tar.gz -58b5d3c239c8be1561060f75bf849bcfa9022626995a5234ec741dc2ae86755d9fed88c12b5644c914c604ea31b017a6679ac33a9a76392242faf139bfd59de1 lua-cflags.patch +85a6dc3b8e674200a2928f397fcb7fb9ca0e41870d5628c9c24aabc140d8fa14c12576cfa6e8bef687ab914d378585557b9a2f3bf09173a003d51f7f8e2a0d34 git.patch +9a155e11e117b9f0485899951051a61d21cdc088d3a5e1ec0e2d018cb257b6edaaf342f5f5304cb229160247ced5ff0fe825f880cb695a201295b4399546de84 lua-cflags.patch 34db925f9e9a1a629d01dc26072f4edec77087f7bf89dda8140326447662efbc53ce5e36087fa9127d708d498c129613f7ed82862dd3176df16796418868548d include-luasocket.patch" |