Date: Monday, September 30, 2013 @ 18:08:21 Author: eric Revision: 97889
upgpkg: luarocks 2.1.0-1 Upstream update, Add backup array, Fix binary symlinks Modified: luarocks/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-09-30 15:25:41 UTC (rev 97888) +++ PKGBUILD 2013-09-30 16:08:21 UTC (rev 97889) @@ -4,11 +4,12 @@ # Contributor: Geoffroy Carrier <geoff...@archlinux.org> pkgname=luarocks -pkgver=2.0.13 +pkgver=2.1.0 pkgrel=1 pkgdesc='Deployment and management system for Lua modules' arch=('any') url='http://luarocks.org/' +license=('custom') depends=('lua51' 'unzip' 'zip' 'curl') optdepends=('cvs: for fetching sources from CVS repositories' 'git: for fetching sources from git repositories' @@ -15,10 +16,10 @@ 'mercurial: for fetching sources from mercurial repositories' 'lua51-sec: HTTPS support' 'cmake: for building rocks that use the cmake build system') -license=('custom') +backup=('etc/luarocks/config-5.1.lua') options=('!makeflags') source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz) -md5sums=('b46809e44648875e8234c2fef79783f9') +md5sums=('6b44eb2e712b16364047301c0d7c7585') build() { cd $pkgname-$pkgver @@ -34,4 +35,6 @@ cd $pkgname-$pkgver make install DESTDIR="$pkgdir" install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + ln -sf luarocks-admin-5.1 "$pkgdir"/usr/bin/luarocks-admin + ln -sf luarocks-5.1 "$pkgdir"/usr/bin/luarocks }