diff options
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 e94694e5a..22f9d4b60 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' 'mips64el') 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 |