summaryrefslogblamecommitdiff
path: root/user/luarocks/APKBUILD
blob: f9ce9632fccc5d899a8449838e483189c331476f (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                           
            

                                          
                           
             
                                 
             
          
                        
                                                                             















                                               
                                                                                                                                                                    
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=luarocks
pkgver=3.1.3
pkgrel=0
pkgdesc="Package manager for Lua software"
url="https://luarocks.org/"
arch="noarch"
options="!check"  # No test suite
license="MIT"
depends=""
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="233e17cd89f99eb387b9e5256edb10c920fb0dd7a173561b24c09c45c341de62f85dba85787788546deef206022602d3f707291935da1a2aee5c05fcad6ddc1b  luarocks-3.1.3.tar.gz"