diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/luasec/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/luasec/PKGBUILD')
-rw-r--r-- | community/luasec/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/luasec/PKGBUILD b/community/luasec/PKGBUILD new file mode 100644 index 000000000..893559266 --- /dev/null +++ b/community/luasec/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Dwayne Bent <dbb.1@liqd.org> +# Contributor: Paul-Sebastian Manole <brokenthorn@gmail.com> + +pkgname=luasec +pkgver=0.4 +pkgrel=2 +pkgdesc="Lua bindings for OpenSSL library to provide TLS/SSL communication." +arch=('i686' 'x86_64') +url="http://luasec.luaforge.net/" +license=('MIT') +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') + +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 + + cd "$srcdir/$pkgname-$pkgver" + patch -p1 Makefile "$startdir/luasec.patch" || return 1 + make linux || return 1 + make DESTDIR=$pkgdir install || return 1 + + install -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1 +} |