summaryrefslogtreecommitdiff
path: root/community/luasec/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-10 03:34:10 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-10 03:34:10 +0000
commitffe0bbfd85b1341f3b15f809ea92f330d2f7cea3 (patch)
treecdffed6dff9284dc6ea35a558ec820639918e6cd /community/luasec/PKGBUILD
parent22a7afa9198d103fd181636ffff9ded8e066e2e2 (diff)
Mon Feb 10 03:32:23 UTC 2014
Diffstat (limited to 'community/luasec/PKGBUILD')
-rw-r--r--community/luasec/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/community/luasec/PKGBUILD b/community/luasec/PKGBUILD
index 70bc0ffe6..6e5a16e32 100644
--- a/community/luasec/PKGBUILD
+++ b/community/luasec/PKGBUILD
@@ -1,26 +1,27 @@
-# $Id: PKGBUILD 105077 2014-01-31 09:22:07Z spupykin $
+# $Id: PKGBUILD 105499 2014-02-09 10:04:32Z bpiotrowski $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Dwayne Bent <dbb.1@liqd.org>
+# Contributor: Dwayne Bent <dbb.1@liqd.org>
# Contributor: Paul-Sebastian Manole <brokenthorn@gmail.com>
pkgbase=luasec
pkgname=(lua-sec lua51-sec)
pkgver=0.5
pkgrel=1
+epoch=1
pkgdesc='Lua bindings for OpenSSL library to provide TLS/SSL communication.'
arch=('i686' 'x86_64')
url='https://github.com/brunoos/luasec/wiki'
license=('MIT')
-makedepends=('openssl' 'lua' 'lua-socket' 'lua51' 'lua51-socket' 'git')
+makedepends=('openssl' 'lua' 'lua-socket' 'lua51' 'lua51-socket')
+options=('!buildflags')
source=("https://github.com/brunoos/luasec/archive/luasec-$pkgver.tar.gz")
md5sums=('0518f4524f399f33424c6f450e1d06db')
-build() {
+prepare() {
cp -a luasec-luasec-$pkgver luasec-luasec-$pkgver-51
+}
- unset CFLAGS
- unset LDFLAGS
-
+build() {
msg2 'Building with lua 5.2'
cd luasec-luasec-$pkgver
make linux
@@ -56,4 +57,4 @@ package_lua51-sec() {
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-# vim:set ts=4 sw=4 et:
+# vim:set ts=2 sw=2 et: