diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-01-09 01:56:34 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-01-09 01:56:34 +0000 |
commit | c20c8738ba050e65d88977c18bcec4b4a1216f1d (patch) | |
tree | 4d52dab38720a33ffe6df26bca1e3dc4492a3f6a /user | |
parent | 935207ae53b3af376cd293d7db394116e4d2d421 (diff) | |
parent | 7a17fb738b7a16da8bf2c461a9fb1a6ae4a968e8 (diff) | |
download | packages-c20c8738ba050e65d88977c18bcec4b4a1216f1d.tar.gz packages-c20c8738ba050e65d88977c18bcec4b4a1216f1d.tar.bz2 packages-c20c8738ba050e65d88977c18bcec4b4a1216f1d.tar.xz packages-c20c8738ba050e65d88977c18bcec4b4a1216f1d.zip |
Merge branch 'luarocks' into 'master'
user/luarocks: new package
See merge request !142
Diffstat (limited to 'user')
-rw-r--r-- | user/luarocks/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/luarocks/APKBUILD b/user/luarocks/APKBUILD new file mode 100644 index 000000000..89ef56bfa --- /dev/null +++ b/user/luarocks/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=luarocks +pkgver=3.0.4 +pkgrel=0 +pkgdesc="Package manager for Lua software" +url="https://luarocks.github.io" +arch="noarch" +options="!check" # no test suite +license="MIT" +makedepends="lua5.3-dev" +source="http://luarocks.github.io/luarocks/releases/luarocks-$pkgver.tar.gz" + +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --lua-version=5.3 \ + --rocks-tree=/usr/share/lua/5.3 + make build +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="65a28f0dca4fc45a0ee413493d0e4287de9c495b27c0366d955a16d03adf94b36cb9dbeda00fb74045809eb5048b78ea5158257b5ddafa924dc8ff0f017e95f8 luarocks-3.0.4.tar.gz" |