blob: 44440a3efea8bde2265f7662a3ff32587991912e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=luarocks
pkgver=3.3.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="0a695ceb30ae575cbca52abd2aad9675e33a234c53c5d1e125442d874c21e0e3cf6157431f07085e4311f81833680366adfe5c626a66cb5880380b48899a116a luarocks-3.3.1.tar.gz"
|