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

                                                 
                
            

                                          
                           
             
                                 
             
                
                        
                                                                             

         








                                               


                                      
                                                                                                                                                                    
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=luarocks
pkgver=3.7.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="cc3c555c488da9f95a118eedb74cb9e2a38b572e172958843dabebce125524e58a13ac65e89a349deb8fef13b6de751074fc3adbb430ab55d4e4109288119153  luarocks-3.7.0.tar.gz"