diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-04 17:53:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-04 17:53:43 +0000 |
commit | 52832f78a78326f599076e848aef9f8c9cef3ab7 (patch) | |
tree | 61ac5de6241eb55c17d27cc3b835a7bcd21aab9c /main/lua-md5/APKBUILD | |
parent | 0df78669943737ecb93527756bf9094c9773c495 (diff) | |
download | aports-52832f78a78326f599076e848aef9f8c9cef3ab7.tar.bz2 aports-52832f78a78326f599076e848aef9f8c9cef3ab7.tar.xz |
main/lua-md5: add lua 5.3 support and use intall_if
Diffstat (limited to 'main/lua-md5/APKBUILD')
-rw-r--r-- | main/lua-md5/APKBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/main/lua-md5/APKBUILD b/main/lua-md5/APKBUILD index 0cae538a65..aaba980e79 100644 --- a/main/lua-md5/APKBUILD +++ b/main/lua-md5/APKBUILD @@ -1,18 +1,17 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -_luaversions="5.1 5.2" +_luaversions="5.1 5.2 5.3" pkgname="lua-md5" _name="md5" pkgver=1.2 -pkgrel=2 +pkgrel=3 pkgdesc="Basic cryptographic facilities for Lua" -url="http://www.keplerproject.org/md5/" +url="https://github.com/keplerproject/md5" arch="all" license="MIT" depends="" makedepends="" subpackages="" for _i in $_luaversions; do - depends="$depends lua$_i-md5" makedepends="$makedepends lua$_i-dev" subpackages="$subpackages lua$_i-md5:split_${_i/./_}" done @@ -48,7 +47,7 @@ package() { _split() { local d= _ver=$1 pkgdesc="Basic cryptographic facilities for Lua $_ver" - replaces="$pkgname" + 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 |