aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-16 09:56:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-16 09:56:52 +0000
commitd3aa5f237ecaf9873444c5b3978af6d824b0a390 (patch)
treefb50b0a4e56622e5e4a03ce520b61d82b626f4a7
parent41784e775538bdbe05e0c6a3a493095b152d0bcf (diff)
downloadaports-d3aa5f237ecaf9873444c5b3978af6d824b0a390.tar.bz2
aports-d3aa5f237ecaf9873444c5b3978af6d824b0a390.tar.xz
testing/lua-struct: fix depends in subpackages
-rw-r--r--testing/lua-struct/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/lua-struct/APKBUILD b/testing/lua-struct/APKBUILD
index 153bee00c2..2f6b2b1e7d 100644
--- a/testing/lua-struct/APKBUILD
+++ b/testing/lua-struct/APKBUILD
@@ -4,7 +4,7 @@ _luaversions="5.1 5.2"
pkgname=lua-struct
pkgver=0.2
-pkgrel=0
+pkgrel=1
pkgdesc="Library for Converting Data to and from C Structs for Lua"
url="http://www.inf.puc-rio.br/~roberto/struct/"
arch="all"
@@ -55,6 +55,7 @@ package() {
_split() {
local _v=$1
pkgdesc="$pkgdesc - Lua $_v"
+ depends=
mkdir -p "$subpkgdir"/usr/lib/lua/$_v
install "$srcdir"/$_v/struct.so "$subpkgdir"/usr/lib/lua/$_v/struct.so \
|| return 1