summaryrefslogtreecommitdiff
path: root/community/luasocket
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-15 02:31:42 -0800
committerroot <root@rshg054.dnsready.net>2012-12-15 02:31:42 -0800
commita829a3b1a4b3eefc7adb1d630f071247e79b9f72 (patch)
tree486be176b9303db0602521e1078dff6d5b04fb71 /community/luasocket
parent1b9faba25721b73f30e49f0cea9c7346eedd0f73 (diff)
Sat Dec 15 02:25:53 PST 2012
Diffstat (limited to 'community/luasocket')
-rw-r--r--community/luasocket/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/community/luasocket/PKGBUILD b/community/luasocket/PKGBUILD
index 06ce58737..4537779c2 100644
--- a/community/luasocket/PKGBUILD
+++ b/community/luasocket/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 81217 2012-12-13 11:26:27Z spupykin $
+# $Id: PKGBUILD 81244 2012-12-14 12:38:59Z seblu $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Anders Bergh <anders1@gmail.com>
pkgbase=luasocket
pkgname=(lua-socket lua51-socket)
pkgver=2.0.2
-pkgrel=3
+pkgrel=4
pkgdesc='Networking support library for the Lua language'
arch=('i686' 'x86_64')
url='http://www.cs.princeton.edu/~diego/professional/luasocket/'
@@ -35,10 +35,10 @@ build() {
package_lua-socket() {
depends=('lua')
- cd luasocket-$pkgver
+ cd luasocket-$pkgver-52
make DESTDIR="$pkgdir/" \
- INSTALL_TOP_SHARE='$(DESTDIR)/usr/share/lua/5.1' \
- INSTALL_TOP_LIB='$(DESTDIR)/usr/lib/lua/5.1' install
+ INSTALL_TOP_SHARE='$(DESTDIR)/usr/share/lua/5.2' \
+ INSTALL_TOP_LIB='$(DESTDIR)/usr/lib/lua/5.2' install
install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
@@ -46,7 +46,7 @@ package_lua51-socket() {
depends=('lua51')
cd luasocket-$pkgver
make DESTDIR="$pkgdir/" \
- INSTALL_TOP_SHARE='$(DESTDIR)/usr/share/lua/5.2' \
- INSTALL_TOP_LIB='$(DESTDIR)/usr/lib/lua/5.2' install
+ INSTALL_TOP_SHARE='$(DESTDIR)/usr/share/lua/5.1' \
+ INSTALL_TOP_LIB='$(DESTDIR)/usr/lib/lua/5.1' install
install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}