summaryrefslogblamecommitdiff
path: root/user/luarocks/APKBUILD
blob: 7bc21d7e01bb7849e882d3dc6223316e1a4dfc6a (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.2
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="78ef1d72302c88fa9989aaf4dba8d7043a2929b709631be2003d3419df828e9168b207365c56bbbf0b52bf81d15fc96b92a7c7abb5dd11dde3630d23886ff51c  luarocks-3.1.2.tar.gz"