mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
19 lines
614 B
Bash
19 lines
614 B
Bash
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
|
|
pkgname=luarocks
|
|
_rver=3981
|
|
pkgver=1.0.1
|
|
pkgrel=1
|
|
pkgdesc='Deployment and management system for Lua modules'
|
|
arch=('i686' 'x86_64')
|
|
url="http://luarocks.org/"
|
|
depends=('lua')
|
|
license=('custom')
|
|
source=(http://luaforge.net/frs/download.php/$_rver/$pkgname-$pkgver.tar.gz)
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr --sysconfdir=/etc/luarocks || return 1
|
|
make || return 1
|
|
make install DESTDIR="$pkgdir" || return 1
|
|
install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
|
}
|
|
md5sums=('e6fad9ddecf79808fda7fd257bfbde06')
|