summaryrefslogtreecommitdiff
path: root/user/luarocks/APKBUILD
blob: 434408c6bb9998003eeaad83a94d30f13d61781c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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="https://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"