diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-04 17:35:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-04 17:35:09 +0000 |
commit | 9ba43a2581119ef14d28017d6c0e69e37428266e (patch) | |
tree | 7f447607ea16ac30b06e4c095db2b55aa011a2bc /main/lua-llthreads/APKBUILD | |
parent | d4fd9574f6b031e204eea2d6a5931e4a287a2fd8 (diff) | |
download | aports-9ba43a2581119ef14d28017d6c0e69e37428266e.tar.bz2 aports-9ba43a2581119ef14d28017d6c0e69e37428266e.tar.xz |
main/lua-llthreads: use install_if
Diffstat (limited to 'main/lua-llthreads/APKBUILD')
-rw-r--r-- | main/lua-llthreads/APKBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/lua-llthreads/APKBUILD b/main/lua-llthreads/APKBUILD index 60464037f..7ca39dbfa 100644 --- a/main/lua-llthreads/APKBUILD +++ b/main/lua-llthreads/APKBUILD @@ -4,12 +4,12 @@ _luaversions="5.1 5.2" pkgname=lua-llthreads pkgver=1.2 -pkgrel=2 +pkgrel=3 pkgdesc="Low-Level native threads module for Lua" url="https://github.com/Neopallium/lua-llthreads" arch="all" license="MIT" -depends="lua5.1-llthreads" +depends="" makedepends="cmake" install="" subpackages= @@ -60,7 +60,7 @@ package() { _split() { local d= _ver=$1 pkgdesc="Low-Level native threads module 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 |