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

                                                         
                
            

                                          
                           
             
                                 
             
                
                        
                                                                             

         








                                               


                                      
                                                                                                                                                                    
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=luarocks
pkgver=3.4.0
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="111ef93cbc4c0d79fdb26d9696b76e6b9e7fb1e30029db43feae9622cc6dd89991f1a62f87af0ca11f4043cb0d445ec73c5edf53e1af5f0d9bc4f756d4c18151  luarocks-3.4.0.tar.gz"