[arch-commits] Commit in luarocks/repos/community-any (PKGBUILD PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Mon Sep 30 16:08:38 UTC 2013
Date: Monday, September 30, 2013 @ 18:08:38
Author: eric
Revision: 97890
archrelease: copy trunk to community-any
Added:
luarocks/repos/community-any/PKGBUILD
(from rev 97889, luarocks/trunk/PKGBUILD)
Deleted:
luarocks/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 40 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-30 16:08:21 UTC (rev 97889)
+++ PKGBUILD 2013-09-30 16:08:38 UTC (rev 97890)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
-
-pkgname=luarocks
-pkgver=2.0.13
-pkgrel=1
-pkgdesc='Deployment and management system for Lua modules'
-arch=('any')
-url='http://luarocks.org/'
-depends=('lua51' 'unzip' 'zip' 'curl')
-optdepends=('cvs: for fetching sources from CVS repositories'
- 'git: for fetching sources from git repositories'
- 'mercurial: for fetching sources from mercurial repositories'
- 'lua51-sec: HTTPS support'
- 'cmake: for building rocks that use the cmake build system')
-license=('custom')
-options=('!makeflags')
-source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz)
-md5sums=('b46809e44648875e8234c2fef79783f9')
-
-build() {
- cd $pkgname-$pkgver
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc/luarocks \
- --with-lua-include=/usr/include/lua5.1/ \
- --with-downloader=curl
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make install DESTDIR="$pkgdir"
- install -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: luarocks/repos/community-any/PKGBUILD (from rev 97889, luarocks/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-09-30 16:08:38 UTC (rev 97890)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+
+pkgname=luarocks
+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'
+ 'mercurial: for fetching sources from mercurial repositories'
+ 'lua51-sec: HTTPS support'
+ 'cmake: for building rocks that use the cmake build system')
+backup=('etc/luarocks/config-5.1.lua')
+options=('!makeflags')
+source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('6b44eb2e712b16364047301c0d7c7585')
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/luarocks \
+ --with-lua-include=/usr/include/lua5.1/ \
+ --with-downloader=curl
+ make
+}
+
+package() {
+ 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
+}
More information about the arch-commits
mailing list