[arch-commits] Commit in lua/trunk (PKGBUILD)

Eric Belanger eric at archlinux.org
Mon May 19 20:20:49 EDT 2008


    Date: Monday, May 19, 2008 @ 20:20:48
  Author: eric
Revision: 1804

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

Modified:
  lua/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-20 00:16:48 UTC (rev 1803)
+++ PKGBUILD	2008-05-20 00:20:48 UTC (rev 1804)
@@ -11,6 +11,7 @@
 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\
@@ -30,8 +31,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 -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