summaryrefslogtreecommitdiff
path: root/user/luarocks/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/luarocks/APKBUILD')
-rw-r--r--user/luarocks/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/user/luarocks/APKBUILD b/user/luarocks/APKBUILD
index 99b8874e5..fe0a75290 100644
--- a/user/luarocks/APKBUILD
+++ b/user/luarocks/APKBUILD
@@ -1,28 +1,31 @@
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=luarocks
-pkgver=3.7.0
+pkgver=3.9.2
pkgrel=0
pkgdesc="Package manager for Lua software"
url="https://luarocks.org/"
arch="noarch"
options="!check" # No test suite
license="MIT"
-depends="lua5.3"
-makedepends="lua5.3-dev"
-source="https://luarocks.github.io/luarocks/releases/luarocks-$pkgver.tar.gz"
+depends="lua5.3-dev"
+makedepends=""
+source="https://luarocks.github.io/luarocks/releases/luarocks-$pkgver.tar.gz
+ config.lua"
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--lua-version=5.3 \
- --rocks-tree=/usr/share/lua/5.3
+ --rocks-tree=/usr/local
make build
}
package() {
make DESTDIR="$pkgdir" install
+ install -D -m 644 "$srcdir"/config.lua "$pkgdir"/etc/$pkgname/config.lua
}
-sha512sums="cc3c555c488da9f95a118eedb74cb9e2a38b572e172958843dabebce125524e58a13ac65e89a349deb8fef13b6de751074fc3adbb430ab55d4e4109288119153 luarocks-3.7.0.tar.gz"
+sha512sums="7e93164bdcf35338e993822931a8e59957ab69c6e23236a7a075649c2f7cd173305c4ca6e9d115fc5e282cb76c21754d7adac92b21885006e5ee3bc06a9d0059 luarocks-3.9.2.tar.gz
+5845d5643c3eeb6d4af6d919a588c5253c91e6a0b278116b4cd855437fc48ac64970fd3ef758c135bc0536ddc1aaa16b01c50e33c864f59aeef1ccced0d01d82 config.lua"