[arch-commits] Commit in luaposix/repos (4 files)

Sébastien Luttringer seblu at nymeria.archlinux.org
Sat Jun 22 17:02:30 UTC 2013


    Date: Saturday, June 22, 2013 @ 19:02:30
  Author: seblu
Revision: 93034

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

Added:
  luaposix/repos/community-i686/PKGBUILD
    (from rev 93033, luaposix/trunk/PKGBUILD)
  luaposix/repos/community-x86_64/PKGBUILD
    (from rev 93033, luaposix/trunk/PKGBUILD)
Deleted:
  luaposix/repos/community-i686/PKGBUILD
  luaposix/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  128 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   57 -------------------
 community-x86_64/PKGBUILD |   57 -------------------
 3 files changed, 128 insertions(+), 114 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-06-22 16:58:47 UTC (rev 93033)
+++ community-i686/PKGBUILD	2013-06-22 17:02:30 UTC (rev 93034)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-# Contributor: Laszlo Papp <djszapi at archlinux us>
-# Contributor: Donald Ephraim Curtis <dcurtis at gmail.com>
-
-pkgbase=luaposix
-pkgname=('lua-posix' 'lua51-posix')
-pkgver=5.1.23
-pkgrel=2
-pkgdesc='A POSIX library for Lua programming language'
-arch=('i686' 'x86_64')
-url='http://luaforge.net/projects/luaposix/'
-license=('GPL' 'LGPL')
-makedepends=('lua' 'lua51' 'lua51-bitop')
-options=('!libtool')
-source=("https://github.com/downloads/$pkgbase/$pkgbase/$pkgbase-$pkgver.tar.gz")
-md5sums=('ebe7d335741ca736e003a6844a0fbf92')
-
-build() {
-  cd $pkgbase-$pkgver
-  mkdir build_51 build_52
-  msg2 'Build with lua 5.2'
-  cd build_52
-  ../configure \
-      --prefix=/usr \
-      --libdir=/usr/lib/lua/5.2 \
-      --datadir=/usr/share/lua/5.2 \
-      --docdir=/usr/share/doc/lua-posix
-  make
-  msg2 'Build with lua 5.1'
-  cd ../build_51
-  ../configure CFLAGS=-I/usr/include/lua5.1 \
-      --prefix=/usr \
-      --libdir=/usr/lib/lua/5.1 \
-      --datadir=/usr/share/lua/5.1 \
-      --docdir=/usr/share/doc/lua51-posix
-  make
-}
-
-package_lua-posix() {
-  depends=('lua')
-
-  cd $pkgbase-$pkgver/build_52
-  make DESTDIR="$pkgdir/" install
-}
-
-package_lua51-posix() {
-  depends=('lua51' 'lua51-bitop')
-  conflicts=('luaposix')
-  replaces=('luaposix')
-
-  cd $pkgbase-$pkgver/build_51
-  make DESTDIR="$pkgdir/" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: luaposix/repos/community-i686/PKGBUILD (from rev 93033, luaposix/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-06-22 17:02:30 UTC (rev 93034)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Laszlo Papp <djszapi at archlinux us>
+# Contributor: Donald Ephraim Curtis <dcurtis at gmail.com>
+
+pkgbase=luaposix
+pkgname=('lua-posix' 'lua51-posix')
+pkgver=5.1.28
+pkgrel=1
+pkgdesc='A POSIX library for Lua programming language'
+arch=('i686' 'x86_64')
+url='https://github.com/luaposix/luaposix'
+license=('GPL' 'LGPL')
+makedepends=('lua' 'lua51' 'lua51-bitop' 'git')
+options=('!libtool')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/luaposix/luaposix/archive/v$pkgver.tar.gz")
+md5sums=('0ea20ea21bd9f92b79041beb6d41393e')
+
+prepare() {
+  # do bootstrap in prepare, as it clone external git
+  (cd $pkgbase-$pkgver && ./bootstrap)
+  cp -r $pkgbase-$pkgver $pkgbase-$pkgver-51
+}
+
+build() {
+  msg2 'Build with lua 5.2'
+  cd $pkgbase-$pkgver
+  ./configure \
+      LUA=/usr/bin/lua \
+      --prefix=/usr \
+      --libdir=/usr/lib/lua/5.2 \
+      --datadir=/usr/share/lua/5.2 \
+      --docdir=/usr/share/doc/lua-posix
+  make
+  msg2 'Build with lua 5.1'
+  cd "$srcdir/$pkgbase-$pkgver-51"
+  ./configure \
+      LUA=/usr/bin/lua5.1 \
+      LUA_INCLUDE=-I/usr/include/lua5.1 \
+      --prefix=/usr \
+      --libdir=/usr/lib/lua/5.1 \
+      --datadir=/usr/share/lua/5.1 \
+      --docdir=/usr/share/doc/lua51-posix
+  make
+}
+
+package_lua-posix() {
+  depends=('lua')
+
+  cd $pkgbase-$pkgver
+  make DESTDIR="$pkgdir/" install
+}
+
+package_lua51-posix() {
+  depends=('lua51' 'lua51-bitop')
+  conflicts=('luaposix')
+  replaces=('luaposix')
+
+  cd $pkgbase-$pkgver-51
+  make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-06-22 16:58:47 UTC (rev 93033)
+++ community-x86_64/PKGBUILD	2013-06-22 17:02:30 UTC (rev 93034)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-# Contributor: Laszlo Papp <djszapi at archlinux us>
-# Contributor: Donald Ephraim Curtis <dcurtis at gmail.com>
-
-pkgbase=luaposix
-pkgname=('lua-posix' 'lua51-posix')
-pkgver=5.1.23
-pkgrel=2
-pkgdesc='A POSIX library for Lua programming language'
-arch=('i686' 'x86_64')
-url='http://luaforge.net/projects/luaposix/'
-license=('GPL' 'LGPL')
-makedepends=('lua' 'lua51' 'lua51-bitop')
-options=('!libtool')
-source=("https://github.com/downloads/$pkgbase/$pkgbase/$pkgbase-$pkgver.tar.gz")
-md5sums=('ebe7d335741ca736e003a6844a0fbf92')
-
-build() {
-  cd $pkgbase-$pkgver
-  mkdir build_51 build_52
-  msg2 'Build with lua 5.2'
-  cd build_52
-  ../configure \
-      --prefix=/usr \
-      --libdir=/usr/lib/lua/5.2 \
-      --datadir=/usr/share/lua/5.2 \
-      --docdir=/usr/share/doc/lua-posix
-  make
-  msg2 'Build with lua 5.1'
-  cd ../build_51
-  ../configure CFLAGS=-I/usr/include/lua5.1 \
-      --prefix=/usr \
-      --libdir=/usr/lib/lua/5.1 \
-      --datadir=/usr/share/lua/5.1 \
-      --docdir=/usr/share/doc/lua51-posix
-  make
-}
-
-package_lua-posix() {
-  depends=('lua')
-
-  cd $pkgbase-$pkgver/build_52
-  make DESTDIR="$pkgdir/" install
-}
-
-package_lua51-posix() {
-  depends=('lua51' 'lua51-bitop')
-  conflicts=('luaposix')
-  replaces=('luaposix')
-
-  cd $pkgbase-$pkgver/build_51
-  make DESTDIR="$pkgdir/" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: luaposix/repos/community-x86_64/PKGBUILD (from rev 93033, luaposix/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-06-22 17:02:30 UTC (rev 93034)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Laszlo Papp <djszapi at archlinux us>
+# Contributor: Donald Ephraim Curtis <dcurtis at gmail.com>
+
+pkgbase=luaposix
+pkgname=('lua-posix' 'lua51-posix')
+pkgver=5.1.28
+pkgrel=1
+pkgdesc='A POSIX library for Lua programming language'
+arch=('i686' 'x86_64')
+url='https://github.com/luaposix/luaposix'
+license=('GPL' 'LGPL')
+makedepends=('lua' 'lua51' 'lua51-bitop' 'git')
+options=('!libtool')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/luaposix/luaposix/archive/v$pkgver.tar.gz")
+md5sums=('0ea20ea21bd9f92b79041beb6d41393e')
+
+prepare() {
+  # do bootstrap in prepare, as it clone external git
+  (cd $pkgbase-$pkgver && ./bootstrap)
+  cp -r $pkgbase-$pkgver $pkgbase-$pkgver-51
+}
+
+build() {
+  msg2 'Build with lua 5.2'
+  cd $pkgbase-$pkgver
+  ./configure \
+      LUA=/usr/bin/lua \
+      --prefix=/usr \
+      --libdir=/usr/lib/lua/5.2 \
+      --datadir=/usr/share/lua/5.2 \
+      --docdir=/usr/share/doc/lua-posix
+  make
+  msg2 'Build with lua 5.1'
+  cd "$srcdir/$pkgbase-$pkgver-51"
+  ./configure \
+      LUA=/usr/bin/lua5.1 \
+      LUA_INCLUDE=-I/usr/include/lua5.1 \
+      --prefix=/usr \
+      --libdir=/usr/lib/lua/5.1 \
+      --datadir=/usr/share/lua/5.1 \
+      --docdir=/usr/share/doc/lua51-posix
+  make
+}
+
+package_lua-posix() {
+  depends=('lua')
+
+  cd $pkgbase-$pkgver
+  make DESTDIR="$pkgdir/" install
+}
+
+package_lua51-posix() {
+  depends=('lua51' 'lua51-bitop')
+  conflicts=('luaposix')
+  replaces=('luaposix')
+
+  cd $pkgbase-$pkgver-51
+  make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list