summaryrefslogtreecommitdiff
path: root/community/luasec
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-14 03:00:42 -0800
committerroot <root@rshg054.dnsready.net>2012-12-14 03:00:42 -0800
commit1b9faba25721b73f30e49f0cea9c7346eedd0f73 (patch)
treed11a95f4a93414017b006abf78931d98c1695020 /community/luasec
parent1517345ab70f42a5e050f3dc9b498038118f9ff1 (diff)
Fri Dec 14 02:55:25 PST 2012
Diffstat (limited to 'community/luasec')
-rw-r--r--community/luasec/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/luasec/PKGBUILD b/community/luasec/PKGBUILD
index 01d8ff1be..9053baf33 100644
--- a/community/luasec/PKGBUILD
+++ b/community/luasec/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 81120 2012-12-12 00:49:31Z eric $
+# $Id: PKGBUILD 81215 2012-12-13 11:26:01Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Dwayne Bent <dbb.1@liqd.org>
# Contributor: Paul-Sebastian Manole <brokenthorn@gmail.com>
@@ -6,7 +6,7 @@
pkgbase=luasec
pkgname=(lua-sec lua51-sec)
pkgver=0.4.1
-pkgrel=1
+pkgrel=3
pkgdesc='Lua bindings for OpenSSL library to provide TLS/SSL communication.'
arch=('i686' 'x86_64')
url='http://luasec.luaforge.net/'
@@ -14,16 +14,16 @@ license=('MIT')
makedepends=('openssl' 'lua' 'lua-socket' 'lua51' 'lua51-socket')
conflicts=('luasec')
replaces=('luasec')
-source=("http://www.inf.puc-rio.br/~brunoos/luasec/download/$pkgbase-$pkgver.tar.gz")
+source=("http://www.inf.puc-rio.br/~brunoos/luasec/download/luasec-$pkgver.tar.gz")
md5sums=('b8a5fde3b3fdb6174f54cd51d7f53e12')
build() {
- cp -a $pkgbase-$pkgver $pkgbase-$pkgver-51
+ cp -a luasec-$pkgver luasec-$pkgver-51
msg2 'Building with lua 5.2'
- cd $pkgbase-$pkgver
+ cd luasec-$pkgver
make linux
msg2 'Building with lua 5.1'
- cd ../$pkgbase-$pkgver-51
+ cd ../luasec-$pkgver-51
make INCDIR=-I/usr/include/lua5.1 linux
}
@@ -31,7 +31,7 @@ package_lua-sec() {
depends=('openssl' 'lua' 'lua-socket')
install -dm755 "$pkgdir/usr/lib/lua/5.2"
- cd $pkgbase-$pkgver
+ cd luasec-$pkgver
make LUACPATH="$pkgdir/usr/lib/lua/5.2" LUAPATH="$pkgdir/usr/share/lua/5.2" install
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
@@ -40,7 +40,7 @@ package_lua51-sec() {
depends=('openssl' 'lua51' 'lua51-socket')
install -dm755 "$pkgdir/usr/lib/lua/5.1"
- cd $pkgbase-$pkgver-51
+ cd luasec-$pkgver-51
make LUACPATH="$pkgdir/usr/lib/lua/5.1" LUAPATH="$pkgdir/usr/share/lua/5.1" install
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}