aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-crypto/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-crypto/APKBUILD')
-rw-r--r--main/lua-crypto/APKBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/lua-crypto/APKBUILD b/main/lua-crypto/APKBUILD
index 471ff267d4..c95a44a2dd 100644
--- a/main/lua-crypto/APKBUILD
+++ b/main/lua-crypto/APKBUILD
@@ -14,6 +14,11 @@ subpackages="$pkgname-dev $pkgname-doc"
source="luacrypto-$pkgver.tar.gz::https://github.com/mkottman/luacrypto/archive/$pkgver.tar.gz"
_builddir="$srcdir"/luacrypto-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
build() {
cd "$_builddir"
LUA_CFLAGS="$(pkg-config lua$_luaver --cflags)" \