summaryrefslogblamecommitdiff
path: root/user/luarocks/APKBUILD
blob: dbceb82e5e03d5b739354d70798ccf0fc4604516 (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.2.1
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"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--lua-version=5.3 \
		--rocks-tree=/usr/share/lua/5.3
	make build
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="9abf2c5477b9ab8e3caf485dd10fc154435b41efc13c7709f36a9182ccbd98d022738627f76901977a9b7c42ae61e5f139e78070d469094a7571910afbb747ff  luarocks-3.2.1.tar.gz"