[arch-commits] CVS update of extra/devel/lua (PKGBUILD lua-arch.patch)

Juergen Hoetzel juergen at archlinux.org
Sat Jan 26 19:24:02 UTC 2008


    Date: Saturday, January 26, 2008 @ 14:24:02
  Author: juergen
    Path: /home/cvs-extra/extra/devel/lua

Modified: PKGBUILD (1.13 -> 1.14) lua-arch.patch (1.1 -> 1.2)

upgpkg: lua 5.1.3-1 added license field


----------------+
 PKGBUILD       |   11 ++++++-----
 lua-arch.patch |   30 ------------------------------
 2 files changed, 6 insertions(+), 35 deletions(-)


Index: extra/devel/lua/PKGBUILD
diff -u extra/devel/lua/PKGBUILD:1.13 extra/devel/lua/PKGBUILD:1.14
--- extra/devel/lua/PKGBUILD:1.13	Wed Apr  4 14:50:01 2007
+++ extra/devel/lua/PKGBUILD	Sat Jan 26 14:24:01 2008
@@ -1,17 +1,18 @@
-# $Id: PKGBUILD,v 1.13 2007/04/04 18:50:01 juergen Exp $
+# $Id: PKGBUILD,v 1.14 2008/01/26 19:24:01 juergen Exp $
 # Maintainer: Juergen Hoetzel <juergen at archlinux.org>
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 #
 
 pkgname=lua 
-pkgver=5.1.2
+pkgver=5.1.3
 pkgrel=1
 pkgdesc="A powerful light-weight programming language designed for extending applications." 
 arch=(i686 x86_64)
 url="http://www.lua.org/" 
 depends=(readline) 
+license=(MIT)
 source=($url/ftp/$pkgname-$pkgver.tar.gz $pkgname-arch.patch 'lua-5.1-cflags.diff')
-md5sums=('687ce4c2a1ddff18f1008490fdc4e5e0' '03362685a2b8d48e94c0297280ac5bfd'\
+md5sums=('a70a8dfaa150e047866dc01a46272599' '4f770160aa5f1885d6e1e050f50bcb75'\
          '249582bf1fd861ccf492d2c35a9fe732')
 
 
@@ -20,8 +21,8 @@
   patch -p1 <$startdir/src/$pkgname-arch.patch
   [ "$CARCH" == "x86_64" ] && patch -Np1 -i ../lua-5.1-cflags.diff
   [ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
-  make linux || return 1
-  make INSTALL_TOP=$startdir/pkg/usr install || return 1
+  make INSTALL_DATA="cp -d" TO_LIB="liblua.a liblua.so.5.1 liblua.so" LUA_SO=liblua.so  INSTALL_TOP=$startdir/pkg/usr\
+    linux install  || return 1
   install -D -m 644 etc/lua.pc $startdir/pkg/usr/lib/pkgconfig/lua.pc
 }
 # vim: ts=2 sw=2 et ft=sh
Index: extra/devel/lua/lua-arch.patch
diff -u extra/devel/lua/lua-arch.patch:1.1 extra/devel/lua/lua-arch.patch:1.2
--- extra/devel/lua/lua-arch.patch:1.1	Tue Mar 21 09:36:13 2006
+++ extra/devel/lua/lua-arch.patch	Sat Jan 26 14:24:02 2008
@@ -1,33 +1,3 @@
-diff -ur lua-5.1.orig/Makefile lua-5.1/Makefile
---- lua-5.1.orig/Makefile	2006-03-21 11:51:53.000000000 +0100
-+++ lua-5.1/Makefile	2006-03-21 11:52:09.000000000 +0100
-@@ -11,7 +11,7 @@
- # if INSTALL_TOP is not an absolute path. (Man pages are installed from the
- # doc directory.)
- #
--INSTALL_TOP= /usr/local
-+INSTALL_TOP= /usr
- INSTALL_BIN= $(INSTALL_TOP)/bin
- INSTALL_INC= $(INSTALL_TOP)/include
- INSTALL_LIB= $(INSTALL_TOP)/lib
-@@ -28,7 +28,7 @@
- #INSTALL_DATA= $(INSTALL) -m 0644
- 
- # Utilities.
--CP= cp
-+CP= cp -d
- FIND= find
- INSTALL= install
- MKDIR= mkdir
-@@ -42,7 +42,7 @@
- # What to install.
- TO_BIN= lua luac
- TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
--TO_LIB= liblua.a
-+TO_LIB= liblua.a liblua.so.5.1 liblua.so
- TO_MAN= lua.1 luac.1
- 
- # Lua version. Currently used only for messages.
 diff -ur lua-5.1.orig/etc/lua.pc lua-5.1/etc/lua.pc
 --- lua-5.1.orig/etc/lua.pc	2006-03-21 11:51:53.000000000 +0100
 +++ lua-5.1/etc/lua.pc	2006-03-21 11:52:05.000000000 +0100




More information about the arch-commits mailing list