summaryrefslogblamecommitdiff
path: root/user/luarocks/APKBUILD
blob: b4c21eadd6bbfd3827756cbf529c7fe3fa1240e6 (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.3.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="746739b390d53a694516c368b90020dff4ce4db5de6b651ee5eefc9b940b677606635a9fecc5cc2849e83778e2c75d509e8fb34f33f8558ba0962256327a3fbb  luarocks-3.3.0.tar.gz"