[arch-commits] Commit in luaposix/trunk (PKGBUILD)
Sébastien Luttringer
seblu at nymeria.archlinux.org
Sun Oct 20 20:53:05 UTC 2013
Date: Sunday, October 20, 2013 @ 22:53:05
Author: seblu
Revision: 98864
upgpkg: luaposix 31-1
Modified:
luaposix/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-20 19:57:37 UTC (rev 98863)
+++ PKGBUILD 2013-10-20 20:53:05 UTC (rev 98864)
@@ -6,20 +6,31 @@
pkgbase=luaposix
pkgname=('lua-posix' 'lua51-posix')
-pkgver=29
+pkgver=31
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=('5c3e49c51caeee6eb5f9dcb2bb082bed')
+makedepends=('lua' 'lua51' 'lua51-bitop' 'git' 'help2man')
+options=('!libtool' '!makeflags')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/$pkgbase/$pkgbase/archive/v$pkgver.tar.gz"
+ 'git+git://git.sv.gnu.org/gnulib'
+ 'git+git://github.com/gvvaughan/slingshot')
+md5sums=('7b17b9a3f25d9658de967c6bfd50c138'
+ 'SKIP'
+ 'SKIP')
prepare() {
- # do bootstrap in prepare, as it clone external git
+ # replace git submodules by source one.
+ # this allow us to cache and avoid clone each time
+ for _rep in gnulib slingshot; do
+ rmdir $pkgbase-$pkgver/$_rep
+ ln -s "$srcdir/$_rep" $pkgbase-$pkgver/$_rep
+ done
+ # bootstraping
(cd $pkgbase-$pkgver && ./bootstrap)
+ # copy source for lua 5.1 build
cp -r $pkgbase-$pkgver $pkgbase-$pkgver-51
}
More information about the arch-commits
mailing list