summaryrefslogtreecommitdiff
path: root/community/luasec
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-23 23:15:26 +0000
committerroot <root@rshg054.dnsready.net>2011-11-23 23:15:26 +0000
commit1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (patch)
tree070846cb6770ab17d394d88c3f0cd3ad3eb89842 /community/luasec
parent851ab9aa99e9bda38f88b5f5ade096c9137e11c8 (diff)
Wed Nov 23 23:15:26 UTC 2011
Diffstat (limited to 'community/luasec')
-rw-r--r--community/luasec/PKGBUILD18
-rw-r--r--community/luasec/luasec.patch2
2 files changed, 10 insertions, 10 deletions
diff --git a/community/luasec/PKGBUILD b/community/luasec/PKGBUILD
index 893559266..9cf2f5118 100644
--- a/community/luasec/PKGBUILD
+++ b/community/luasec/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: PKGBUILD 59126 2011-11-21 11:54:45Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Dwayne Bent <dbb.1@liqd.org>
# Contributor: Paul-Sebastian Manole <brokenthorn@gmail.com>
@@ -14,17 +14,17 @@ depends=('openssl>=0.9.7' 'lua>=5.1' 'luasocket>=2.0.2')
source=("http://www.inf.puc-rio.br/~brunoos/luasec/download/$pkgname-$pkgver.tar.gz"
'luasec.patch')
md5sums=('712158d60207bdbb6215fc7e07d8db24'
- '6f607af3351454754762421b27afe7f6')
+ '25e48c1115225d9884cdb7f5ca4949a9')
build() {
- install -d "$pkgdir/usr/share/lua/5.1" || return 1
- install -d "$pkgdir/usr/lib/lua/5.1" || return 1
- install -d "$pkgdir/usr/share/licenses/$pkgname" || return 1
+ install -d "$pkgdir/usr/share/lua/5.1"
+ install -d "$pkgdir/usr/lib/lua/5.1"
+ install -d "$pkgdir/usr/share/licenses/$pkgname"
cd "$srcdir/$pkgname-$pkgver"
- patch -p1 Makefile "$startdir/luasec.patch" || return 1
- make linux || return 1
- make DESTDIR=$pkgdir install || return 1
+ patch -p1 Makefile "$srcdir/luasec.patch"
+ make linux
+ make DESTDIR=$pkgdir install
- install -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
+ install -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
diff --git a/community/luasec/luasec.patch b/community/luasec/luasec.patch
index 96035df7a..7b0c9d6cc 100644
--- a/community/luasec/luasec.patch
+++ b/community/luasec/luasec.patch
@@ -12,7 +12,7 @@
-#INCDIR=-I/usr/local/lua-5.1/include -I/usr/local/openssl-0.9.8/include
-#LIBDIR=-L/usr/local/openssl-0.9.8/lib -R/usr/local/openssl-0.9.8/lib
+INCDIR=-I/usr/include -I/usr/include/openssl
-+LIBDIR=-L/usr/lib -R/usr/lib
++LIBDIR=-L/usr/lib
# For Mac OS X: set the system version
MACOSX_VERSION=10.4