diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/lua-posixtz/APKBUILD | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/main/lua-posixtz/APKBUILD b/main/lua-posixtz/APKBUILD index 7a0b209cba..246efc5d0f 100644 --- a/main/lua-posixtz/APKBUILD +++ b/main/lua-posixtz/APKBUILD @@ -1,9 +1,9 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> -_luaversions="5.1 5.2" +_luaversions="5.1 5.2 5.3" pkgname=lua-posixtz pkgver=0.5 -pkgrel=0 +pkgrel=1 pkgdesc="Lua module to extract POSIX timezone from tzdata" url="http://git.alpinelinux.org/cgit/posixtz.git/" arch="all" @@ -14,7 +14,6 @@ depends_dev="" makedepends="$depends_dev" subpackages="" for _i in $_luaversions; do - depends="$depends lua$_i-posixtz" makedepends="$makedepends lua$_i-dev" subpackages="$subpackages lua$_i-posixtz:split_${_i/./_}" done @@ -53,7 +52,7 @@ package() { _split() { local d= _ver=$1 pkgdesc="Lua $_ver module to extract POSIX timezone from tzdata" - 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 |