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

Eric Belanger eric at archlinux.org
Wed Mar 26 05:25:52 UTC 2008


    Date: Wednesday, March 26, 2008 @ 01:25:52
  Author: eric
    Path: /home/cvs-extra/extra/devel/lua

   Added: LICENSE.txt (1.1)
Modified: PKGBUILD (1.15 -> 1.16)

upgpkg: lua 5.1.3-2
    disabled SMP build, added license file, FSH man pages


-------------+
 LICENSE.txt |   21 +++++++++++++++++++++
 PKGBUILD    |   11 +++++++----
 2 files changed, 28 insertions(+), 4 deletions(-)


Index: extra/devel/lua/LICENSE.txt
diff -u /dev/null extra/devel/lua/LICENSE.txt:1.1
--- /dev/null	Wed Mar 26 01:25:52 2008
+++ extra/devel/lua/LICENSE.txt	Wed Mar 26 01:25:51 2008
@@ -0,0 +1,21 @@
+License for Lua 5.0 and later versions
+Copyright © 1994-2008 Lua.org, PUC-Rio.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions: 
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software. 
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  
Index: extra/devel/lua/PKGBUILD
diff -u extra/devel/lua/PKGBUILD:1.15 extra/devel/lua/PKGBUILD:1.16
--- extra/devel/lua/PKGBUILD:1.15	Mon Mar 24 07:46:48 2008
+++ extra/devel/lua/PKGBUILD	Wed Mar 26 01:25:52 2008
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.15 2008/03/24 11:46:48 juergen Exp $
+# $Id: PKGBUILD,v 1.16 2008/03/26 05:25:52 eric Exp $
 # Maintainer: Juergen Hoetzel <juergen at archlinux.org>
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 #
@@ -11,15 +11,17 @@
 url="http://www.lua.org/" 
 depends=(readline) 
 license=(MIT)
+options=('!makeflags')
 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)
+	lua-${pkgver}-official-patch4.diff\
+	LICENSE.txt)
 md5sums=('a70a8dfaa150e047866dc01a46272599' '4f770160aa5f1885d6e1e050f50bcb75'\
          '249582bf1fd861ccf492d2c35a9fe732' '203027f2ddcfaf5697293c23d7915f57'\
          'd06c5b23daaa414348948d5b8c308d6f' 'dde56cd1d48a8bb2fb661a9aaf8380ad'\
-         '616808cee32ff328077b848131df7670')
+         '616808cee32ff328077b848131df7670' '3399f129690adf29bfd81d801978dcfc')
 
 build() { 
   cd $startdir/src/$pkgname-$pkgver 
@@ -30,8 +32,9 @@
   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.5.1 liblua.so" 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 -m 644 ../LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt
 }
 # vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list