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