Date: Monday, October 21, 2013 @ 16:00:47
  Author: spupykin
Revision: 98938

archrelease: copy trunk to community-i686, community-x86_64

Added:
  luasocket/repos/community-i686/PKGBUILD
    (from rev 98937, luasocket/trunk/PKGBUILD)
  luasocket/repos/community-x86_64/PKGBUILD
    (from rev 98937, luasocket/trunk/PKGBUILD)
Deleted:
  luasocket/repos/community-i686/PKGBUILD
  luasocket/repos/community-i686/luasocket-unixsocket.patch
  luasocket/repos/community-x86_64/PKGBUILD
  luasocket/repos/community-x86_64/luasocket-unixsocket.patch

---------------------------------------------+
 /PKGBUILD                                   |   86 ++++++++++++++++++++++++++
 community-i686/PKGBUILD                     |   50 ---------------
 community-i686/luasocket-unixsocket.patch   |   33 ---------
 community-x86_64/PKGBUILD                   |   50 ---------------
 community-x86_64/luasocket-unixsocket.patch |   33 ---------
 5 files changed, 86 insertions(+), 166 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD     2013-10-21 14:00:22 UTC (rev 98937)
+++ community-i686/PKGBUILD     2013-10-21 14:00:47 UTC (rev 98938)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
-# Contributor: Anders Bergh <ande...@gmail.com>
-
-pkgbase=luasocket
-pkgname=(lua51-socket)
-pkgver=2.0.2
-pkgrel=5
-pkgdesc='Networking support library for the Lua language'
-arch=('i686' 'x86_64')
-url='http://www.cs.princeton.edu/~diego/professional/luasocket/'
-license=('MIT')
-replaces=('luasocket')
-conflicts=('luasocket')
-makedepends=('lua' 'lua51')
-source=("http://luaforge.net/frs/download.php/2664/luasocket-$pkgver.tar.gz";
-        'luasocket-unixsocket.patch')
-md5sums=('41445b138deb7bcfe97bff957503da8e'
-         '8d116bb70bd7a2fa15cbe949d4cfc35e')
-
-build() {
-#  cp -a luasocket-$pkgver luasocket-$pkgver-52
-#  msg2 'Building with lua 5.2'
-#  pushd luasocket-$pkgver-52
-#  patch -Np1 -i "$srcdir/luasocket-unixsocket.patch"
-#  make
-#  popd
-  msg2 'Building with lua 5.1'
-  cd luasocket-$pkgver
-  patch -Np1 -i "$srcdir/luasocket-unixsocket.patch"
-  make LUAINC=-I/usr/include/lua5.1
-}
-
-#package_lua-socket() {
-#  depends=('lua')
-#  cd luasocket-$pkgver-52
-#  make DESTDIR="$pkgdir/" \
-#    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"
-#}
-
-package_lua51-socket() {
-  depends=('lua51')
-  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
-  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: luasocket/repos/community-i686/PKGBUILD (from rev 98937, 
luasocket/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2013-10-21 14:00:47 UTC (rev 98938)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: Anders Bergh <ande...@gmail.com>
+
+pkgbase=luasocket
+pkgname=(lua-socket lua51-socket)
+pkgver=3.0rc1
+pkgrel=1
+pkgdesc='Networking support library for the Lua language'
+arch=('i686' 'x86_64')
+url='https://github.com/diegonehab/luasocket'
+license=('MIT')
+makedepends=('lua' 'lua51')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/diegonehab/luasocket/archive/v${pkgver/rc/-rc}.tar.gz";)
+md5sums=('08bd2f265b244eb4bf5c2c36bf89b759')
+
+build() {
+  cp -a luasocket-${pkgver/rc/-rc} luasocket-${pkgver/rc/-rc}-52
+  msg2 'Building with lua 5.2'
+  pushd luasocket-${pkgver/rc/-rc}-52
+  make LUAV=5.2
+  popd
+  msg2 'Building with lua 5.1'
+  cd luasocket-${pkgver/rc/-rc}
+  make LUAV=5.1
+}
+
+package_lua-socket() {
+  depends=('lua')
+  cd luasocket-${pkgver/rc/-rc}-52
+  make DESTDIR="$pkgdir/" LUAV=5.2 prefix=/usr install
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua51-socket() {
+  depends=('lua51')
+  replaces=('luasocket')
+  conflicts=('luasocket')
+
+  cd luasocket-${pkgver/rc/-rc}
+  make DESTDIR="$pkgdir/" LUAV=5.1 prefix=/usr install
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: community-i686/luasocket-unixsocket.patch
===================================================================
--- community-i686/luasocket-unixsocket.patch   2013-10-21 14:00:22 UTC (rev 
98937)
+++ community-i686/luasocket-unixsocket.patch   2013-10-21 14:00:47 UTC (rev 
98938)
@@ -1,33 +0,0 @@
-diff -wbBur luasocket-2.0.2/makefile luasocket-2.0.2.my/makefile
---- luasocket-2.0.2/makefile   2007-10-15 04:21:05.000000000 +0000
-+++ luasocket-2.0.2.my/makefile        2011-03-09 12:00:54.000000000 +0000
-@@ -10,6 +10,8 @@
- INSTALL_SOCKET_LIB=$(INSTALL_TOP_LIB)/socket
- INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime
- INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime
-+#
-+INSTALL_UNIX_LIB=$(INSTALL_SOCKET_LIB)
- 
- all clean:
-       cd src; $(MAKE) $@
-@@ -45,6 +47,8 @@
-       #cd src; $(INSTALL_DATA) $(TO_MIME_SHARE) $(INSTALL_MIME_SHARE)
-       cd src; mkdir -p $(INSTALL_MIME_LIB)
-       cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT)
-+      cd src; mkdir -p $(INSTALL_UNIX_LIB)
-+      cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_UNIX_LIB)/$(UNIX_SO)
- 
- #------
- # End of makefile
-diff -wbBur luasocket-2.0.2/src/makefile luasocket-2.0.2.my/src/makefile
---- luasocket-2.0.2/src/makefile       2007-10-15 04:21:05.000000000 +0000
-+++ luasocket-2.0.2.my/src/makefile    2011-03-09 12:02:25.000000000 +0000
-@@ -47,7 +47,7 @@
-       usocket.o \
-       unix.o
- 
--all: $(SOCKET_SO) $(MIME_SO) 
-+all: $(SOCKET_SO) $(MIME_SO) $(UNIX_SO)
- 
- $(SOCKET_SO): $(SOCKET_OBJS)
-       $(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS)

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD   2013-10-21 14:00:22 UTC (rev 98937)
+++ community-x86_64/PKGBUILD   2013-10-21 14:00:47 UTC (rev 98938)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
-# Contributor: Anders Bergh <ande...@gmail.com>
-
-pkgbase=luasocket
-pkgname=(lua51-socket)
-pkgver=2.0.2
-pkgrel=5
-pkgdesc='Networking support library for the Lua language'
-arch=('i686' 'x86_64')
-url='http://www.cs.princeton.edu/~diego/professional/luasocket/'
-license=('MIT')
-replaces=('luasocket')
-conflicts=('luasocket')
-makedepends=('lua' 'lua51')
-source=("http://luaforge.net/frs/download.php/2664/luasocket-$pkgver.tar.gz";
-        'luasocket-unixsocket.patch')
-md5sums=('41445b138deb7bcfe97bff957503da8e'
-         '8d116bb70bd7a2fa15cbe949d4cfc35e')
-
-build() {
-#  cp -a luasocket-$pkgver luasocket-$pkgver-52
-#  msg2 'Building with lua 5.2'
-#  pushd luasocket-$pkgver-52
-#  patch -Np1 -i "$srcdir/luasocket-unixsocket.patch"
-#  make
-#  popd
-  msg2 'Building with lua 5.1'
-  cd luasocket-$pkgver
-  patch -Np1 -i "$srcdir/luasocket-unixsocket.patch"
-  make LUAINC=-I/usr/include/lua5.1
-}
-
-#package_lua-socket() {
-#  depends=('lua')
-#  cd luasocket-$pkgver-52
-#  make DESTDIR="$pkgdir/" \
-#    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"
-#}
-
-package_lua51-socket() {
-  depends=('lua51')
-  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
-  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: luasocket/repos/community-x86_64/PKGBUILD (from rev 98937, 
luasocket/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2013-10-21 14:00:47 UTC (rev 98938)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: Anders Bergh <ande...@gmail.com>
+
+pkgbase=luasocket
+pkgname=(lua-socket lua51-socket)
+pkgver=3.0rc1
+pkgrel=1
+pkgdesc='Networking support library for the Lua language'
+arch=('i686' 'x86_64')
+url='https://github.com/diegonehab/luasocket'
+license=('MIT')
+makedepends=('lua' 'lua51')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/diegonehab/luasocket/archive/v${pkgver/rc/-rc}.tar.gz";)
+md5sums=('08bd2f265b244eb4bf5c2c36bf89b759')
+
+build() {
+  cp -a luasocket-${pkgver/rc/-rc} luasocket-${pkgver/rc/-rc}-52
+  msg2 'Building with lua 5.2'
+  pushd luasocket-${pkgver/rc/-rc}-52
+  make LUAV=5.2
+  popd
+  msg2 'Building with lua 5.1'
+  cd luasocket-${pkgver/rc/-rc}
+  make LUAV=5.1
+}
+
+package_lua-socket() {
+  depends=('lua')
+  cd luasocket-${pkgver/rc/-rc}-52
+  make DESTDIR="$pkgdir/" LUAV=5.2 prefix=/usr install
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua51-socket() {
+  depends=('lua51')
+  replaces=('luasocket')
+  conflicts=('luasocket')
+
+  cd luasocket-${pkgver/rc/-rc}
+  make DESTDIR="$pkgdir/" LUAV=5.1 prefix=/usr install
+  install -D -m0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: community-x86_64/luasocket-unixsocket.patch
===================================================================
--- community-x86_64/luasocket-unixsocket.patch 2013-10-21 14:00:22 UTC (rev 
98937)
+++ community-x86_64/luasocket-unixsocket.patch 2013-10-21 14:00:47 UTC (rev 
98938)
@@ -1,33 +0,0 @@
-diff -wbBur luasocket-2.0.2/makefile luasocket-2.0.2.my/makefile
---- luasocket-2.0.2/makefile   2007-10-15 04:21:05.000000000 +0000
-+++ luasocket-2.0.2.my/makefile        2011-03-09 12:00:54.000000000 +0000
-@@ -10,6 +10,8 @@
- INSTALL_SOCKET_LIB=$(INSTALL_TOP_LIB)/socket
- INSTALL_MIME_SHARE=$(INSTALL_TOP_SHARE)/mime
- INSTALL_MIME_LIB=$(INSTALL_TOP_LIB)/mime
-+#
-+INSTALL_UNIX_LIB=$(INSTALL_SOCKET_LIB)
- 
- all clean:
-       cd src; $(MAKE) $@
-@@ -45,6 +47,8 @@
-       #cd src; $(INSTALL_DATA) $(TO_MIME_SHARE) $(INSTALL_MIME_SHARE)
-       cd src; mkdir -p $(INSTALL_MIME_LIB)
-       cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT)
-+      cd src; mkdir -p $(INSTALL_UNIX_LIB)
-+      cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_UNIX_LIB)/$(UNIX_SO)
- 
- #------
- # End of makefile
-diff -wbBur luasocket-2.0.2/src/makefile luasocket-2.0.2.my/src/makefile
---- luasocket-2.0.2/src/makefile       2007-10-15 04:21:05.000000000 +0000
-+++ luasocket-2.0.2.my/src/makefile    2011-03-09 12:02:25.000000000 +0000
-@@ -47,7 +47,7 @@
-       usocket.o \
-       unix.o
- 
--all: $(SOCKET_SO) $(MIME_SO) 
-+all: $(SOCKET_SO) $(MIME_SO) $(UNIX_SO)
- 
- $(SOCKET_SO): $(SOCKET_OBJS)
-       $(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS)

Reply via email to