summaryrefslogtreecommitdiff
path: root/community/luarocks/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-17 23:14:42 +0000
committerroot <root@rshg054.dnsready.net>2011-10-17 23:14:42 +0000
commitc4f201fd7208805c7ee00e0ee833d3cc505898ac (patch)
tree72c45bb585e42c6c7da3fc0b4aa817019daf99a7 /community/luarocks/PKGBUILD
parente1b3d592f43a99f4ed7c91971deda6ce8414dd69 (diff)
Mon Oct 17 23:14:42 UTC 2011
Diffstat (limited to 'community/luarocks/PKGBUILD')
-rw-r--r--community/luarocks/PKGBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/community/luarocks/PKGBUILD b/community/luarocks/PKGBUILD
index 633beb5f5..2b29ab5c8 100644
--- a/community/luarocks/PKGBUILD
+++ b/community/luarocks/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 38024 2011-01-20 16:03:49Z cbrannon $
+# $Id: PKGBUILD 56921 2011-10-16 23:25:18Z cbrannon $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
pkgname=luarocks
-pkgver=2.0.4.1
+pkgver=2.0.6
pkgrel=1
pkgdesc='Deployment and management system for Lua modules'
arch=('i686' 'x86_64')
@@ -11,12 +11,21 @@ url="http://luarocks.org/"
depends=('lua' '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'
+ 'luasec: HTTPS support'
'cmake: for building rocks that use the cmake build system')
license=('custom')
-source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz)
+source=(http://luarocks.org/releases/$pkgname-$pkgver.tar.gz
+ packbinary.patch)
build() {
cd "$srcdir/$pkgname-$pkgver"
+
+ ## The --pack-binary option to the "build" command is broken in the release,
+ # but it was fixed in upstream's git repo. The following patch goes
+ # away with the next release:
+ patch -p1 < "$srcdir/packbinary.patch"
+
# I added --with-downloader=curl, because luarocks already uses curl
# for uploading. May as well use curl for downloading.
./configure --prefix=/usr --sysconfdir=/etc/luarocks --with-downloader=curl
@@ -29,4 +38,5 @@ package() {
install -D COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-md5sums=('2c7caccce3cdf236e6f9aca7bec9bdea')
+md5sums=('ad3eed4d579552aa91ea49c2bdbc2bb1'
+ 'f364b5a092a54559408df7431bc14746')