diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-01 19:53:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-01 19:53:20 +0000 |
commit | 50c6eba53c865a32d81711f356bf7fd2d7c5c362 (patch) | |
tree | 5de3e7336a4bc482946050d99ebf1c5b6c367b68 /main/lua-curl/APKBUILD | |
parent | cbf8bb0112708de510a6192820035fe1e2f04405 (diff) | |
download | aports-50c6eba53c865a32d81711f356bf7fd2d7c5c362.tar.bz2 aports-50c6eba53c865a32d81711f356bf7fd2d7c5c362.tar.xz |
main/lua-curl: upgrade to 0.3.1
Diffstat (limited to 'main/lua-curl/APKBUILD')
-rw-r--r-- | main/lua-curl/APKBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/main/lua-curl/APKBUILD b/main/lua-curl/APKBUILD index a9fdd36d83..08a37e66b2 100644 --- a/main/lua-curl/APKBUILD +++ b/main/lua-curl/APKBUILD @@ -1,10 +1,10 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -_luaversions="5.1 5.2" +_luaversions="5.1 5.2 5.3" pkgname=lua-curl -pkgver=0.3.0 +pkgver=0.3.1 pkgrel=0 pkgdesc="Lua bindings to cURL library" -url="http://lua-curl.luaforge.net/" +url="https://github.com/Lua-cURL/Lua-cURLv3" arch="all" license="MIT/X11" depends= @@ -15,7 +15,6 @@ subpackages="" for _i in $_luaversions; do makedepends="$makedepends lua${_i}-dev" subpackages="$subpackages lua${_i}-curl:_split${_i/./}" - depends="$depends lua${_i}-curl" done source="lua-curl-$pkgver.tar.gz::https://github.com/Lua-cURL/Lua-cURLv3/archive/v$pkgver.tar.gz" @@ -28,9 +27,6 @@ build() { cd build-$_i echo LUA_IMPL=lua$_i >> .config -# echo LUA_CMOD=/usr/lib/lua/$_i >> .config -# echo LUA_LMOD=/usr/share/lua/$_i >> .config - make LUA_VERSION=$_i || return 1 cd .. done @@ -48,6 +44,7 @@ package() { _split() { local d= _ver=$1 pkgdesc="$pkgdesc for Lua $_ver" + install_if="lua$_ver $pkgname=$pkgver-r$pkgrel" depends= for d in usr/lib/lua usr/share/lua; do if [ -d "$pkgdir"/$d/$_ver ]; then @@ -61,6 +58,6 @@ for _i in $_luaversions; do eval "_split${_i/./}() { _split $_i; }" done -md5sums="ac6ae0534d3d5ee1cf9dacb237f76016 lua-curl-0.3.0.tar.gz" -sha256sums="2d92301f31a700927a7099be089f4161b8f540a1c36fd40fc550f72da572e5e7 lua-curl-0.3.0.tar.gz" -sha512sums="69c697f39129e57328b2fd65dc6e5ad82f8dbb5757dd40466970693f882f0f99d87e30de6b48eb8c0eeb30564d6e7de1f81359269567910c8d3c6fc0e714f97f lua-curl-0.3.0.tar.gz" +md5sums="99fba4026f468c87531ce06380593196 lua-curl-0.3.1.tar.gz" +sha256sums="3b6a4113c27d544d0673dcd31526ff650a7a5482d8077cc29711eb51788c5c4d lua-curl-0.3.1.tar.gz" +sha512sums="4cce4372409499f2245130fbc7b1ed3bcb6657b10f6368ee797d2e754f41701bba1a6b8473e08066b7087b55d9dda1beba67eac646ce3f4c0519a1a0bdbbfa44 lua-curl-0.3.1.tar.gz" |