diff options
Diffstat (limited to 'main')
-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 |