aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-06 12:13:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-06 12:13:34 +0000
commita060ffa40636331f15de0636c3c41fac0b0628a0 (patch)
treea0b37bc5b674324525266a4705f66fdf8cb725eb /main
parentfa7eabbbe240ffe36eaab70f32f21602be3f3cf1 (diff)
downloadaports-a060ffa40636331f15de0636c3c41fac0b0628a0.tar.bz2
aports-a060ffa40636331f15de0636c3c41fac0b0628a0.tar.xz
main/lua-subprocess: use install_if
Diffstat (limited to 'main')
-rw-r--r--main/lua-subprocess/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/lua-subprocess/APKBUILD b/main/lua-subprocess/APKBUILD
index b73aa7e890..f8a4d628c3 100644
--- a/main/lua-subprocess/APKBUILD
+++ b/main/lua-subprocess/APKBUILD
@@ -4,7 +4,7 @@
_luaversions="5.1 5.2"
pkgname=lua-subprocess
pkgver=0.0.20141229
-pkgrel=1
+pkgrel=2
pkgdesc="A Lua module written in C that allows you to create child processes and communicate with them"
url="https://github.com/tdtrask/lua-subprocess"
arch="all"
@@ -15,7 +15,6 @@ depends_dev=""
makedepends="$depends_dev asciidoc"
subpackages=""
for _i in $_luaversions; do
- depends="$depends lua$_i-subprocess"
makedepends="$makedepends lua$_i-dev"
subpackages="$subpackages lua$_i-subprocess:split_${_i/./_}"
done
@@ -77,6 +76,7 @@ package() {
_split() {
local d= _ver=$1
pkgdesc="A Lua $_ver module written in C that allows you to create child processes and communicate with them"
+ install_if="lua$_ver $pkgname=$pkgver-r$pkgrel"
replaces="$pkgname"
depends=
for d in usr/lib/lua usr/share/lua; do