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

2020-02-19 Thread Anatol Pomozov via arch-commits
Date: Thursday, February 20, 2020 @ 01:02:16
  Author: anatolik
Revision: 375899

FS#65549 add *.pc file aliases to be compatible with other distros

Lua upstream does not provide *.pc files unfortunately and there is a variety of
*.pc file names. Add some aliases to make the package compatible with other 
distros.

Modified:
  lua51/trunk/PKGBUILD

--+
 PKGBUILD |7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-20 00:58:55 UTC (rev 375898)
+++ PKGBUILD2020-02-20 01:02:16 UTC (rev 375899)
@@ -4,7 +4,7 @@
 
 pkgname=lua51
 pkgver=5.1.5
-pkgrel=8
+pkgrel=9
 pkgdesc='Powerful lightweight programming language designed for extending 
applications'
 arch=('x86_64')
 url='https://www.lua.org/'
@@ -46,7 +46,10 @@
 INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
 install
 
-  install -Dm644 etc/lua.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc
+  install -Dm644 etc/lua.pc "$pkgdir"/usr/lib/pkgconfig/lua51.pc
+  ln -sf lua51.pc "$pkgdir"/usr/lib/pkgconfig/lua5.1.pc
+  ln -sf lua51.pc "$pkgdir"/usr/lib/pkgconfig/lua-5.1.pc
+
   install -d "$pkgdir"/usr/share/doc/$pkgname
   install -m644 doc/*.{gif,png,css,html} "$pkgdir"/usr/share/doc/$pkgname
   install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT


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

2019-01-10 Thread Felix Yan via arch-commits
Date: Friday, January 11, 2019 @ 07:57:00
  Author: felixonmars
Revision: 343579

Readline 8.0 rebuild

Modified:
  lua51/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-11 07:52:48 UTC (rev 343578)
+++ PKGBUILD2019-01-11 07:57:00 UTC (rev 343579)
@@ -4,7 +4,7 @@
 
 pkgname=lua51
 pkgver=5.1.5
-pkgrel=7
+pkgrel=8
 pkgdesc='Powerful lightweight programming language designed for extending 
applications'
 arch=('x86_64')
 url='https://www.lua.org/'


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

2018-10-02 Thread Levente Polyak via arch-commits
Date: Wednesday, October 3, 2018 @ 02:10:19
  Author: anthraxx
Revision: 335658

upgpkg: lua51 5.1.5-7 (hardening rebuild)

Modified:
  lua51/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-02 22:29:21 UTC (rev 335657)
+++ PKGBUILD2018-10-03 02:10:19 UTC (rev 335658)
@@ -4,19 +4,19 @@
 
 pkgname=lua51
 pkgver=5.1.5
-pkgrel=6
+pkgrel=7
 pkgdesc='Powerful lightweight programming language designed for extending 
applications'
 arch=('x86_64')
-url='http://www.lua.org/'
+url='https://www.lua.org/'
 depends=('readline')
 license=('MIT')
 options=('!makeflags' '!emptydirs')
-source=(http://www.lua.org/ftp/lua-$pkgver.tar.gz
+source=(https://www.lua.org/ftp/lua-$pkgver.tar.gz
 lua-arch.patch
 lua-5.1-cflags.diff)
-md5sums=('2e115fe26e435e33b0d5c022e4490567'
- 'fa25feb70ef9fec975b1c20da5098b3c'
- '249582bf1fd861ccf492d2c35a9fe732')
+sha512sums=('0142fefcbd13afcd9b201403592aa60620011cc8e8559d4d2db2f92739d18186860989f48caa45830ff4f99bfc7483287fd3ff3a16d4dec928e2767ce4d542a9'
+
'7678986a9c5310a81c260cde0124d14f5c2dffebf0bc61a257ec1e39f63b5ec0bc2a6adf5c39cdbc45ba4594487f46bfafd20cb334ae965f3379c244b338fa00'
+
'cd135a2e6583ec0b059133b4383ccecb4d8c7ac668fc22be0ef37dc7ac55e82e9afe52bc7c0aa39f40fdbf30a1657d7426fce0418d0a26d22f1058c2647d1a67')
 
 prepare() {
   cd lua-$pkgver


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

2016-11-06 Thread Evangelos Foutras
Date: Sunday, November 6, 2016 @ 20:05:40
  Author: foutrelis
Revision: 279948

readline 7.0 rebuild

Modified:
  lua51/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-06 20:03:56 UTC (rev 279947)
+++ PKGBUILD2016-11-06 20:05:40 UTC (rev 279948)
@@ -5,7 +5,7 @@
 
 pkgname=lua51
 pkgver=5.1.5
-pkgrel=5
+pkgrel=6
 pkgdesc='Powerful lightweight programming language designed for extending 
applications'
 arch=('i686' 'x86_64')
 url='http://www.lua.org/'


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

2016-06-06 Thread Anatol Pomozov
Date: Tuesday, June 7, 2016 @ 00:11:32
  Author: anatolik
Revision: 269086

upgpkg: lua51 5.1.5-5

Modified:
  lua51/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-06-06 22:06:53 UTC (rev 269085)
+++ PKGBUILD2016-06-06 22:11:32 UTC (rev 269086)
@@ -5,7 +5,7 @@
 
 pkgname=lua51
 pkgver=5.1.5
-pkgrel=4
+pkgrel=5
 pkgdesc='Powerful lightweight programming language designed for extending 
applications'
 arch=('i686' 'x86_64')
 url='http://www.lua.org/'
@@ -47,7 +47,7 @@
 INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
 install
 
-  install -Dm644 etc/lua.pc "$pkgdir"/usr/lib/pkgconfig/lua5.1.pc
+  install -Dm644 etc/lua.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc
   install -d "$pkgdir"/usr/share/doc/$pkgname
   install -m644 doc/*.{gif,png,css,html} "$pkgdir"/usr/share/doc/$pkgname
   install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT


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

2013-12-07 Thread Bartłomiej Piotrowski
Date: Saturday, December 7, 2013 @ 11:54:28
  Author: bpiotrowski
Revision: 201272

upgpkg: lua51 5.1.5-4

- rebuild to remove static libraries

Modified:
  lua51/trunk/PKGBUILD

--+
 PKGBUILD |   75 -
 1 file changed, 40 insertions(+), 35 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-12-07 10:46:34 UTC (rev 201271)
+++ PKGBUILD2013-12-07 10:54:28 UTC (rev 201272)
@@ -5,52 +5,57 @@
 
 pkgname=lua51
 pkgver=5.1.5
-pkgrel=3
-pkgdesc='A powerful light-weight programming language designed for extending 
applications'
+pkgrel=4
+pkgdesc='Powerful lightweight programming language designed for extending 
applications'
 arch=('i686' 'x86_64')
 url='http://www.lua.org/'
 depends=('readline')
 license=('MIT')
 options=('!makeflags' '!emptydirs')
-source=(http://www.lua.org/ftp/lua-$pkgver.tar.gz;
-'lua-arch.patch'
-'lua-5.1-cflags.diff')
+source=(http://www.lua.org/ftp/lua-$pkgver.tar.gz
+lua-arch.patch
+lua-5.1-cflags.diff)
 md5sums=('2e115fe26e435e33b0d5c022e4490567'
  'fa25feb70ef9fec975b1c20da5098b3c'
  '249582bf1fd861ccf492d2c35a9fe732')
 
+prepare() {
+  cd lua-$pkgver
+  patch -p1 -i ../lua-arch.patch
+  patch -p1 -i ../lua-5.1-cflags.diff
+}
+
 build() {
-cd lua-$pkgver
-patch -p1 -i $srcdir/lua-arch.patch
-patch -p1 -i $srcdir/lua-5.1-cflags.diff
-[[ $CARCH == x86_64 ]]  export CFLAGS=$CFLAGS -fPIC
-sed -e 's:llua:llua5.1:' -e 's:/include:/include/lua5.1:' -i etc/lua.pc
-sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.1/' -e '/^LUAC_T=/ s/luac/luac5.1/' 
-i src/Makefile
-make MYCFLAGS=$CFLAGS MYLDFLAGS=$LDFLAGS linux
+  cd lua-$pkgver
+
+  [[ $CARCH == x86_64 ]]  export CFLAGS=$CFLAGS -fPIC
+  sed -e 's:llua:llua5.1:' -e 's:/include:/include/lua5.1:' -i etc/lua.pc
+  sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.1/' -e '/^LUAC_T=/ s/luac/luac5.1/' \
+-i src/Makefile
+  make MYCFLAGS=$CFLAGS MYLDFLAGS=$LDFLAGS linux
 }
 
 package() {
-cd lua-$pkgver
-make \
-  TO_BIN=lua5.1 luac5.1 \
-  TO_LIB=liblua5.1.a liblua5.1.so liblua5.1.so.5.1 liblua5.1.so.$pkgver \
-  INSTALL_DATA='cp -d' \
-  INSTALL_TOP=$pkgdir/usr \
-  INSTALL_INC=$pkgdir/usr/include/lua5.1 \
-  INSTALL_MAN=$pkgdir/usr/share/man/man1 \
-  install
-install -D -m644 etc/lua.pc $pkgdir/usr/lib/pkgconfig/lua5.1.pc
-# Install the documentation
-install -d $pkgdir/usr/share/doc/$pkgname
-install -m644 doc/*.{gif,png,css,html} $pkgdir/usr/share/doc/$pkgname
-# Install copyrigth file
-install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
-# fixups
-ln -s liblua5.1.so $pkgdir/usr/lib/liblua.so.5.1
-ln -s liblua5.1.so $pkgdir/usr/lib/liblua.so.$pkgver
-cd $pkgdir/usr/share/man/man1
-mv lua.1 lua5.1.1
-mv luac.1 luac5.1.1
+  cd lua-$pkgver
+
+  make \
+TO_BIN='lua5.1 luac5.1' \
+TO_LIB=liblua5.1.a liblua5.1.so liblua5.1.so.5.1 liblua5.1.so.$pkgver \
+INSTALL_DATA='cp -d' \
+INSTALL_TOP=$pkgdir/usr \
+INSTALL_INC=$pkgdir/usr/include/lua5.1 \
+INSTALL_MAN=$pkgdir/usr/share/man/man1 \
+install
+
+  install -Dm644 etc/lua.pc $pkgdir/usr/lib/pkgconfig/lua5.1.pc
+  install -d $pkgdir/usr/share/doc/$pkgname
+  install -m644 doc/*.{gif,png,css,html} $pkgdir/usr/share/doc/$pkgname
+  install -Dm644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
+
+  ln -s liblua5.1.so $pkgdir/usr/lib/liblua.so.5.1
+  ln -s liblua5.1.so $pkgdir/usr/lib/liblua.so.$pkgver
+
+  cd $pkgdir/usr/share/man/man1
+  mv lua.1 lua5.1.1
+  mv luac.1 luac5.1.1
 }
-
-# vim:set ts=4 sw=4 et:



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

2013-10-13 Thread Eric Bélanger
Date: Sunday, October 13, 2013 @ 17:46:02
  Author: eric
Revision: 196429

Fix svn Id tag

Modified:
  lua51/trunk/PKGBUILD  (contents, properties)

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-10-13 13:54:12 UTC (rev 196428)
+++ PKGBUILD2013-10-13 15:46:02 UTC (rev 196429)
@@ -1,4 +1,4 @@
-# $Id $
+# $Id$
 # Maintainer: Sébastien Luttringer se...@aur.archlinux.org
 # Contributor: Juergen Hoetzel juer...@archlinux.org
 # Contributor: Damir Perisa damir.per...@bluewin.ch


Property changes on: lua51/trunk/PKGBUILD
___
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property


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

2012-11-15 Thread Florian Pritz
Date: Thursday, November 15, 2012 @ 13:29:19
  Author: bluewind
Revision: 171037

upgpkg: lua51 5.1.5-3

fix broken liblua.so.5.1 symlink

Modified:
  lua51/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-11-15 17:58:32 UTC (rev 171036)
+++ PKGBUILD2012-11-15 18:29:19 UTC (rev 171037)
@@ -5,7 +5,7 @@
 
 pkgname=lua51
 pkgver=5.1.5
-pkgrel=2
+pkgrel=3
 pkgdesc='A powerful light-weight programming language designed for extending 
applications'
 arch=('i686' 'x86_64')
 url='http://www.lua.org/'
@@ -46,8 +46,8 @@
 # Install copyrigth file
 install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
 # fixups
-ln -s liblua51.so $pkgdir/usr/lib/liblua.so.5.1
-ln -s liblua51.so $pkgdir/usr/lib/liblua.so.$pkgver
+ln -s liblua5.1.so $pkgdir/usr/lib/liblua.so.5.1
+ln -s liblua5.1.so $pkgdir/usr/lib/liblua.so.$pkgver
 cd $pkgdir/usr/share/man/man1
 mv lua.1 lua5.1.1
 mv luac.1 luac5.1.1



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

2012-11-13 Thread Jan Steffens
Date: Tuesday, November 13, 2012 @ 16:10:42
  Author: heftig
Revision: 170939

fixup libraries

Modified:
  lua51/trunk/PKGBUILD

--+
 PKGBUILD |   17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-11-13 17:02:45 UTC (rev 170938)
+++ PKGBUILD2012-11-13 21:10:42 UTC (rev 170939)
@@ -5,7 +5,7 @@
 
 pkgname=lua51
 pkgver=5.1.5
-pkgrel=1
+pkgrel=2
 pkgdesc='A powerful light-weight programming language designed for extending 
applications'
 arch=('i686' 'x86_64')
 url='http://www.lua.org/'
@@ -24,14 +24,16 @@
 patch -p1 -i $srcdir/lua-arch.patch
 patch -p1 -i $srcdir/lua-5.1-cflags.diff
 [[ $CARCH == x86_64 ]]  export CFLAGS=$CFLAGS -fPIC
-sed -i -e 's:llua:llua5.1:' -e 's:/include:/include/lua5.1:' etc/lua.pc
+sed -e 's:llua:llua5.1:' -e 's:/include:/include/lua5.1:' -i etc/lua.pc
+sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.1/' -e '/^LUAC_T=/ s/luac/luac5.1/' 
-i src/Makefile
 make MYCFLAGS=$CFLAGS MYLDFLAGS=$LDFLAGS linux
 }
 
 package() {
 cd lua-$pkgver
 make \
-  TO_LIB=liblua.a liblua.so.5.1 liblua.so.$pkgver \
+  TO_BIN=lua5.1 luac5.1 \
+  TO_LIB=liblua5.1.a liblua5.1.so liblua5.1.so.5.1 liblua5.1.so.$pkgver \
   INSTALL_DATA='cp -d' \
   INSTALL_TOP=$pkgdir/usr \
   INSTALL_INC=$pkgdir/usr/include/lua5.1 \
@@ -43,12 +45,9 @@
 install -m644 doc/*.{gif,png,css,html} $pkgdir/usr/share/doc/$pkgname
 # Install copyrigth file
 install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
-# rename
-cd $pkgdir/usr/bin
-mv lua lua5.1
-mv luac luac5.1
-cd $pkgdir/usr/lib
-mv liblua.a liblua5.1.a
+# fixups
+ln -s liblua51.so $pkgdir/usr/lib/liblua.so.5.1
+ln -s liblua51.so $pkgdir/usr/lib/liblua.so.$pkgver
 cd $pkgdir/usr/share/man/man1
 mv lua.1 lua5.1.1
 mv luac.1 luac5.1.1