[arch-commits] Commit in lua/repos (extra-i686 extra-i686/PKGBUILD)

Douglas Soares de Andrade douglas at archlinux.org
Sun Aug 24 13:13:02 EDT 2008


    Date: Sunday, August 24, 2008 @ 13:13:02
  Author: douglas
Revision: 10248

Merged revisions 1764-10247 via svnmerge from 
svn+ssh://archlinux.org/home/svn-packages/lua/trunk

........
  r1804 | eric | 2008-05-19 21:20:48 -0300 (Seg, 19 Mai 2008) | 2 lines
  
  upgpkg: lua 5.1.3-3
      disabled SMP build, FSH man pages, added license file
........
  r3219 | juergen | 2008-06-21 11:44:05 -0300 (S?\195?\161b, 21 Jun 2008) | 1 line
  
  removed invalid symlink to liblua.so.5.1 (the packages doesn't provide this soname
........
  r9276 | allan | 2008-08-17 02:57:13 -0300 (Dom, 17 Ago 2008) | 2 lines
  
  upgpkg: lua 5.1.3-4
      ncurses rebuild
........
  r9808 | eric | 2008-08-19 00:16:27 -0300 (Ter, 19 Ago 2008) | 2 lines
  
  upgpkg: lua 5.1.3-5
      added missing library
........
  r10247 | douglas | 2008-08-24 14:11:50 -0300 (Dom, 24 Ago 2008) | 2 lines
  
  upgpkg: lua 5.1.4-1
      Updated for i686: 5.1.4
........

Modified:
  lua/repos/extra-i686/	(properties)
  lua/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)


Property changes on: lua/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /lua/trunk:1-1763
   + /lua/trunk:1-10247

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-08-24 17:11:50 UTC (rev 10247)
+++ extra-i686/PKGBUILD	2008-08-24 17:13:02 UTC (rev 10248)
@@ -1,37 +1,29 @@
 # $Id$
 # Maintainer: Juergen Hoetzel <juergen at archlinux.org>
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
-#
 
 pkgname=lua 
-pkgver=5.1.3
-pkgrel=3
+pkgver=5.1.4
+pkgrel=1
 pkgdesc="A powerful light-weight programming language designed for extending applications." 
 arch=(i686 x86_64)
 url="http://www.lua.org/" 
-depends=(readline) 
+depends=('readline' 'ncurses') 
 license=(MIT)
-source=($url/ftp/$pkgname-$pkgver.tar.gz $pkgname-arch.patch 'lua-5.1-cflags.diff' \
-	lua-${pkgver}-official-patch1.diff\
-	lua-${pkgver}-official-patch2.diff\
-	lua-${pkgver}-official-patch3.diff\
-	lua-${pkgver}-official-patch4.diff)
-md5sums=('a70a8dfaa150e047866dc01a46272599' '1bd1164a19abf9165e231ba0d8a0bbc7'\
-         '249582bf1fd861ccf492d2c35a9fe732' '203027f2ddcfaf5697293c23d7915f57'\
-         'd06c5b23daaa414348948d5b8c308d6f' 'dde56cd1d48a8bb2fb661a9aaf8380ad'\
-         '616808cee32ff328077b848131df7670')
+options=('!makeflags')
+source=($url/ftp/$pkgname-$pkgver.tar.gz $pkgname-arch.patch 'lua-5.1-cflags.diff')
 
+md5sums=('a70a8dfaa150e047866dc01a46272599' '1bd1164a19abf9165e231ba0d8a0bbc7')
+
 build() { 
   cd $startdir/src/$pkgname-$pkgver 
   patch -p1 -i $startdir/src/$pkgname-arch.patch || return 1
-  patch --ignore-whitespace src/luaconf.h $startdir/src/lua-${pkgver}-official-patch1.diff || return 1
-  patch -p0  -i $startdir/src/lua-${pkgver}-official-patch2.diff || return 1
-  patch -p0  -i $startdir/src/lua-${pkgver}-official-patch3.diff || return 1
-  patch -p0  -i $startdir/src/lua-${pkgver}-official-patch4.diff || return 1
+  
   [ "$CARCH" == "x86_64" ] && patch -Np1 -i ../lua-5.1-cflags.diff
   [ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
-  make INSTALL_DATA="cp -d" TO_LIB="liblua.a liblua.so.5.1 liblua.so" LUA_SO=liblua.so  INSTALL_TOP=$startdir/pkg/usr\
+  make INSTALL_DATA="cp -d" TO_LIB="liblua.a liblua.so liblua.so.5.1" LUA_SO=liblua.so  INSTALL_TOP=$startdir/pkg/usr INSTALL_MAN=$startdir/pkg/usr/share/man/man1 \
     linux install  || return 1
   install -D -m 644 etc/lua.pc $startdir/pkg/usr/lib/pkgconfig/lua.pc
+  install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT
 }
 # vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list