diff options
author | root <root@rshg054.dnsready.net> | 2012-12-14 03:00:42 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-14 03:00:42 -0800 |
commit | 1b9faba25721b73f30e49f0cea9c7346eedd0f73 (patch) | |
tree | d11a95f4a93414017b006abf78931d98c1695020 /community/luasocket/PKGBUILD | |
parent | 1517345ab70f42a5e050f3dc9b498038118f9ff1 (diff) |
Fri Dec 14 02:55:25 PST 2012
Diffstat (limited to 'community/luasocket/PKGBUILD')
-rw-r--r-- | community/luasocket/PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/community/luasocket/PKGBUILD b/community/luasocket/PKGBUILD index 88c9d5714..06ce58737 100644 --- a/community/luasocket/PKGBUILD +++ b/community/luasocket/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 81121 2012-12-12 00:49:32Z eric $ +# $Id: PKGBUILD 81217 2012-12-13 11:26:27Z spupykin $ # 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=1 +pkgrel=3 pkgdesc='Networking support library for the Lua language' arch=('i686' 'x86_64') url='http://www.cs.princeton.edu/~diego/professional/luasocket/' @@ -22,20 +22,20 @@ md5sums=('41445b138deb7bcfe97bff957503da8e' build() { msg2 'Building with lua 5.2' - cp -a $pkgbase-$pkgver $pkgbase-$pkgver-52 - cd $pkgbase-$pkgver-52 + cp -a luasocket-$pkgver luasocket-$pkgver-52 + cd luasocket-$pkgver-52 patch -Np1 -i "$srcdir/luasocket-unixsocket.patch" patch -Np1 -i "$srcdir/lua52.patch" make msg2 'Building with lua 5.1' - cd ../$pkgbase-$pkgver + cd ../luasocket-$pkgver patch -Np1 -i "$srcdir/luasocket-unixsocket.patch" make LUAINC=-I/usr/include/lua5.1 } package_lua-socket() { depends=('lua') - cd $pkgbase-$pkgver + cd luasocket-$pkgver make DESTDIR="$pkgdir/" \ INSTALL_TOP_SHARE='$(DESTDIR)/usr/share/lua/5.1' \ INSTALL_TOP_LIB='$(DESTDIR)/usr/lib/lua/5.1' install @@ -44,7 +44,7 @@ package_lua-socket() { package_lua51-socket() { depends=('lua51') - cd $pkgbase-$pkgver + 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 |