[arch-commits] Commit in lua/repos (5 files)

2020-12-03 Thread Anatol Pomozov via arch-commits
Date: Thursday, December 3, 2020 @ 16:46:09
  Author: anatolik
Revision: 402848

archrelease: copy trunk to testing-x86_64

Added:
  lua/repos/testing-x86_64/
  lua/repos/testing-x86_64/LICENSE
(from rev 402847, lua/trunk/LICENSE)
  lua/repos/testing-x86_64/PKGBUILD
(from rev 402847, lua/trunk/PKGBUILD)
  lua/repos/testing-x86_64/liblua.so.patch
(from rev 402847, lua/trunk/liblua.so.patch)
  lua/repos/testing-x86_64/lua.pc
(from rev 402847, lua/trunk/lua.pc)

-+
 LICENSE |   30 +++
 PKGBUILD|   58 
 liblua.so.patch |   60 ++
 lua.pc  |   20 ++
 4 files changed, 168 insertions(+)

Copied: lua/repos/testing-x86_64/LICENSE (from rev 402847, lua/trunk/LICENSE)
===
--- testing-x86_64/LICENSE  (rev 0)
+++ testing-x86_64/LICENSE  2020-12-03 16:46:09 UTC (rev 402848)
@@ -0,0 +1,30 @@
+License
+
+Lua is free software distributed under the terms of the MIT license
+reproduced below; it may be used for any purpose, including commercial
+purposes, at absolutely no cost without having to ask us. The only
+requirement is that if you do use Lua, then you should give us credit
+by including the appropriate copyright notice somewhere in your
+product or its documentation.
+
+Copyright © 1994–2015 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.  

Copied: lua/repos/testing-x86_64/PKGBUILD (from rev 402847, lua/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-12-03 16:46:09 UTC (rev 402848)
@@ -0,0 +1,58 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Juergen Hoetzel 
+# Contributor: Damir Perisa 
+
+pkgname=lua
+pkgver=5.4.2
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='Powerful lightweight programming language designed for extending 
applications'
+arch=('x86_64')
+url='https://www.lua.org/'
+depends=('readline')
+license=('MIT')
+options=('!emptydirs')
+source=(https://www.lua.org/ftp/lua-$pkgver.tar.gz
+liblua.so.patch
+lua.pc
+LICENSE)
+sha1sums=('96d4a21393c94bed286b8dc0568f4bdde8730b22'
+  'cdfa66057f43aaf4b5914496aa6a4556f3a6e7a0'
+  '1aee8d1a219639d0efc534e483ffa1ee236fb393'
+  '05f5f3b7bef0258bd617c505b8992de639af4551')
+
+prepare() {
+  cd lua-$pkgver
+  patch -p1 -i ../liblua.so.patch
+
+  sed "s/%VER%/$_majorver/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
+}
+
+build() {
+  cd lua-$pkgver
+
+  make MYCFLAGS="$CFLAGS -fPIC" MYLDFLAGS="$LDFLAGS" linux-readline
+}
+
+package() {
+  cd lua-$pkgver
+
+  make \
+TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
+INSTALL_DATA='cp -d' \
+INSTALL_TOP="$pkgdir"/usr \
+INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
+install
+  ln -sf /usr/bin/lua "$pkgdir"/usr/bin/lua$_majorver
+  ln -sf /usr/bin/luac "$pkgdir"/usr/bin/luac$_majorver
+  ln -sf /usr/lib/liblua.so.$pkgver "$pkgdir"/usr/lib/liblua$_majorver.so
+
+  install -Dm644 lua.pc "$pkgdir"/usr/lib/pkgconfig/lua54.pc
+  ln -sf lua54.pc "$pkgdir"/usr/lib/pkgconfig/lua.pc
+  ln -sf lua54.pc "$pkgdir"/usr/lib/pkgconfig/lua5.4.pc
+  ln -sf lua54.pc "$pkgdir"/usr/lib/pkgconfig/lua-5.4.pc
+
+  install -d "$pkgdir"/usr/share/doc/$pkgname
+  install -m644 doc/*.{gif,png,css,html} "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: lua/repos/testing-x86_64/liblua.so.patch (from rev 402847, 
lua/trunk/liblua.so.patch)
===
--- testing-x86_64/liblua.so.patch  (rev 0)
+++ 

[arch-commits] Commit in lua/repos (5 files)

2020-10-11 Thread Anatol Pomozov via arch-commits
Date: Monday, October 12, 2020 @ 04:04:25
  Author: anatolik
Revision: 398038

archrelease: copy trunk to testing-x86_64

Added:
  lua/repos/testing-x86_64/
  lua/repos/testing-x86_64/LICENSE
(from rev 398037, lua/trunk/LICENSE)
  lua/repos/testing-x86_64/PKGBUILD
(from rev 398037, lua/trunk/PKGBUILD)
  lua/repos/testing-x86_64/liblua.so.patch
(from rev 398037, lua/trunk/liblua.so.patch)
  lua/repos/testing-x86_64/lua.pc
(from rev 398037, lua/trunk/lua.pc)

-+
 LICENSE |   30 +++
 PKGBUILD|   58 
 liblua.so.patch |   60 ++
 lua.pc  |   20 ++
 4 files changed, 168 insertions(+)

Copied: lua/repos/testing-x86_64/LICENSE (from rev 398037, lua/trunk/LICENSE)
===
--- testing-x86_64/LICENSE  (rev 0)
+++ testing-x86_64/LICENSE  2020-10-12 04:04:25 UTC (rev 398038)
@@ -0,0 +1,30 @@
+License
+
+Lua is free software distributed under the terms of the MIT license
+reproduced below; it may be used for any purpose, including commercial
+purposes, at absolutely no cost without having to ask us. The only
+requirement is that if you do use Lua, then you should give us credit
+by including the appropriate copyright notice somewhere in your
+product or its documentation.
+
+Copyright © 1994–2015 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.  

Copied: lua/repos/testing-x86_64/PKGBUILD (from rev 398037, lua/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-10-12 04:04:25 UTC (rev 398038)
@@ -0,0 +1,58 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Juergen Hoetzel 
+# Contributor: Damir Perisa 
+
+pkgname=lua
+pkgver=5.4.1
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='Powerful lightweight programming language designed for extending 
applications'
+arch=('x86_64')
+url='https://www.lua.org/'
+depends=('readline')
+license=('MIT')
+options=('!emptydirs')
+source=(https://www.lua.org/ftp/lua-$pkgver.tar.gz
+liblua.so.patch
+lua.pc
+LICENSE)
+sha1sums=('88961e7d4fda58ca2c6163938fd48db8880e803d'
+  'cdfa66057f43aaf4b5914496aa6a4556f3a6e7a0'
+  '1aee8d1a219639d0efc534e483ffa1ee236fb393'
+  '05f5f3b7bef0258bd617c505b8992de639af4551')
+
+prepare() {
+  cd lua-$pkgver
+  patch -p1 -i ../liblua.so.patch
+
+  sed "s/%VER%/$_majorver/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
+}
+
+build() {
+  cd lua-$pkgver
+
+  make MYCFLAGS="$CFLAGS -fPIC" MYLDFLAGS="$LDFLAGS" linux-readline
+}
+
+package() {
+  cd lua-$pkgver
+
+  make \
+TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
+INSTALL_DATA='cp -d' \
+INSTALL_TOP="$pkgdir"/usr \
+INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
+install
+  ln -sf /usr/bin/lua "$pkgdir"/usr/bin/lua$_majorver
+  ln -sf /usr/bin/luac "$pkgdir"/usr/bin/luac$_majorver
+  ln -sf /usr/lib/liblua.so.$pkgver "$pkgdir"/usr/lib/liblua$_majorver.so
+
+  install -Dm644 lua.pc "$pkgdir"/usr/lib/pkgconfig/lua54.pc
+  ln -sf lua54.pc "$pkgdir"/usr/lib/pkgconfig/lua.pc
+  ln -sf lua54.pc "$pkgdir"/usr/lib/pkgconfig/lua5.4.pc
+  ln -sf lua54.pc "$pkgdir"/usr/lib/pkgconfig/lua-5.4.pc
+
+  install -d "$pkgdir"/usr/share/doc/$pkgname
+  install -m644 doc/*.{gif,png,css,html} "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: lua/repos/testing-x86_64/liblua.so.patch (from rev 398037, 
lua/trunk/liblua.so.patch)
===
--- testing-x86_64/liblua.so.patch  (rev 0)
+++ 

[arch-commits] Commit in lua/repos (5 files)

2020-06-29 Thread Anatol Pomozov via arch-commits
Date: Monday, June 29, 2020 @ 21:37:50
  Author: anatolik
Revision: 390618

archrelease: copy trunk to testing-x86_64

Added:
  lua/repos/testing-x86_64/
  lua/repos/testing-x86_64/LICENSE
(from rev 390617, lua/trunk/LICENSE)
  lua/repos/testing-x86_64/PKGBUILD
(from rev 390617, lua/trunk/PKGBUILD)
  lua/repos/testing-x86_64/liblua.so.patch
(from rev 390617, lua/trunk/liblua.so.patch)
  lua/repos/testing-x86_64/lua.pc
(from rev 390617, lua/trunk/lua.pc)

-+
 LICENSE |   30 ++
 PKGBUILD|   61 ++
 liblua.so.patch |   60 +
 lua.pc  |   20 +
 4 files changed, 171 insertions(+)

Copied: lua/repos/testing-x86_64/LICENSE (from rev 390617, lua/trunk/LICENSE)
===
--- testing-x86_64/LICENSE  (rev 0)
+++ testing-x86_64/LICENSE  2020-06-29 21:37:50 UTC (rev 390618)
@@ -0,0 +1,30 @@
+License
+
+Lua is free software distributed under the terms of the MIT license
+reproduced below; it may be used for any purpose, including commercial
+purposes, at absolutely no cost without having to ask us. The only
+requirement is that if you do use Lua, then you should give us credit
+by including the appropriate copyright notice somewhere in your
+product or its documentation.
+
+Copyright © 1994–2015 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.  

Copied: lua/repos/testing-x86_64/PKGBUILD (from rev 390617, lua/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-06-29 21:37:50 UTC (rev 390618)
@@ -0,0 +1,61 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Juergen Hoetzel 
+# Contributor: Damir Perisa 
+
+pkgname=lua
+pkgver=5.4.0
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='Powerful lightweight programming language designed for extending 
applications'
+arch=('x86_64')
+url='https://www.lua.org/'
+depends=('readline')
+license=('MIT')
+options=('!emptydirs')
+source=(https://www.lua.org/ftp/lua-$pkgver.tar.gz
+liblua.so.patch
+lua.pc
+LICENSE)
+sha1sums=('8cdbffa8a214a23d190d7c45f38c19518ae62e89'
+  'cdfa66057f43aaf4b5914496aa6a4556f3a6e7a0'
+  '1aee8d1a219639d0efc534e483ffa1ee236fb393'
+  '05f5f3b7bef0258bd617c505b8992de639af4551')
+
+prepare() {
+  cd lua-$pkgver
+  patch -p1 -i ../liblua.so.patch
+
+  sed "s/%VER%/$_majorver/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
+
+  # Lua 5.3.4 has wrong release version in its Makefile. Fix it.
+  # sed "s/^R= \$V.4/R= \$V.5/" -i Makefile
+}
+
+build() {
+  cd lua-$pkgver
+
+  make MYCFLAGS="$CFLAGS -fPIC" MYLDFLAGS="$LDFLAGS" linux
+}
+
+package() {
+  cd lua-$pkgver
+
+  make \
+TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
+INSTALL_DATA='cp -d' \
+INSTALL_TOP="$pkgdir"/usr \
+INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
+install
+  ln -sf /usr/bin/lua "$pkgdir"/usr/bin/lua$_majorver
+  ln -sf /usr/bin/luac "$pkgdir"/usr/bin/luac$_majorver
+  ln -sf /usr/lib/liblua.so.$pkgver "$pkgdir"/usr/lib/liblua$_majorver.so
+
+  install -Dm644 lua.pc "$pkgdir"/usr/lib/pkgconfig/lua54.pc
+  ln -sf lua54.pc "$pkgdir"/usr/lib/pkgconfig/lua.pc
+  ln -sf lua54.pc "$pkgdir"/usr/lib/pkgconfig/lua5.4.pc
+  ln -sf lua54.pc "$pkgdir"/usr/lib/pkgconfig/lua-5.4.pc
+
+  install -d "$pkgdir"/usr/share/doc/$pkgname
+  install -m644 doc/*.{gif,png,css,html} "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: lua/repos/testing-x86_64/liblua.so.patch (from rev 390617, 
lua/trunk/liblua.so.patch)
===
--- 

[arch-commits] Commit in lua/repos (5 files)

2020-02-19 Thread Anatol Pomozov via arch-commits
Date: Thursday, February 20, 2020 @ 00:52:20
  Author: anatolik
Revision: 375896

archrelease: copy trunk to testing-x86_64

Added:
  lua/repos/testing-x86_64/
  lua/repos/testing-x86_64/LICENSE
(from rev 375895, lua/trunk/LICENSE)
  lua/repos/testing-x86_64/PKGBUILD
(from rev 375895, lua/trunk/PKGBUILD)
  lua/repos/testing-x86_64/liblua.so.patch
(from rev 375895, lua/trunk/liblua.so.patch)
  lua/repos/testing-x86_64/lua.pc
(from rev 375895, lua/trunk/lua.pc)

-+
 LICENSE |   30 ++
 PKGBUILD|   62 ++
 liblua.so.patch |   60 
 lua.pc  |   20 +
 4 files changed, 172 insertions(+)

Copied: lua/repos/testing-x86_64/LICENSE (from rev 375895, lua/trunk/LICENSE)
===
--- testing-x86_64/LICENSE  (rev 0)
+++ testing-x86_64/LICENSE  2020-02-20 00:52:20 UTC (rev 375896)
@@ -0,0 +1,30 @@
+License
+
+Lua is free software distributed under the terms of the MIT license
+reproduced below; it may be used for any purpose, including commercial
+purposes, at absolutely no cost without having to ask us. The only
+requirement is that if you do use Lua, then you should give us credit
+by including the appropriate copyright notice somewhere in your
+product or its documentation.
+
+Copyright © 1994–2015 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.  

Copied: lua/repos/testing-x86_64/PKGBUILD (from rev 375895, lua/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-02-20 00:52:20 UTC (rev 375896)
@@ -0,0 +1,62 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Juergen Hoetzel 
+# Contributor: Damir Perisa 
+
+pkgname=lua
+pkgver=5.3.5
+_majorver=${pkgver%.*}
+pkgrel=3
+pkgdesc='Powerful lightweight programming language designed for extending 
applications'
+arch=('x86_64')
+url='https://www.lua.org/'
+depends=('readline')
+license=('MIT')
+options=('!emptydirs')
+source=(https://www.lua.org/ftp/lua-$pkgver.tar.gz
+liblua.so.patch
+lua.pc
+LICENSE)
+sha1sums=('112eb10ff04d1b4c9898e121d6bdf54a81482447'
+  'cb7b2870358e03bffcb58578a651bf9b287e'
+  '1aee8d1a219639d0efc534e483ffa1ee236fb393'
+  '05f5f3b7bef0258bd617c505b8992de639af4551')
+
+prepare() {
+  cd lua-$pkgver
+  patch -p1 -i ../liblua.so.patch
+
+  sed "s/%VER%/$_majorver/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
+
+  # Lua 5.3.4 has wrong release version in its Makefile. Fix it.
+  sed "s/^R= \$V.4/R= \$V.5/" -i Makefile
+}
+
+build() {
+  cd lua-$pkgver
+
+  # quite a lot of packages still use lua 5.1 API, enable 5.1 compat mode
+  make MYCFLAGS="$CFLAGS -fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" 
MYLDFLAGS="$LDFLAGS" linux
+}
+
+package() {
+  cd lua-$pkgver
+
+  make \
+TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
+INSTALL_DATA='cp -d' \
+INSTALL_TOP="$pkgdir"/usr \
+INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
+install
+  ln -sf /usr/bin/lua "$pkgdir"/usr/bin/lua$_majorver
+  ln -sf /usr/bin/luac "$pkgdir"/usr/bin/luac$_majorver
+  ln -sf /usr/lib/liblua.so.$pkgver "$pkgdir"/usr/lib/liblua$_majorver.so
+
+  install -Dm644 lua.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}53.pc
+  ln -sf ${pkgname}53.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}.pc
+  ln -sf ${pkgname}53.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}5.3.pc
+  ln -sf ${pkgname}53.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}-5.3.pc
+
+  install -d "$pkgdir"/usr/share/doc/$pkgname
+  install -m644 doc/*.{gif,png,css,html} "$pkgdir"/usr/share/doc/$pkgname
+  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in lua/repos (5 files)

2019-01-10 Thread Evangelos Foutras via arch-commits
Date: Thursday, January 10, 2019 @ 15:12:40
  Author: foutrelis
Revision: 343461

archrelease: copy trunk to staging-x86_64

Added:
  lua/repos/staging-x86_64/
  lua/repos/staging-x86_64/LICENSE
(from rev 343460, lua/trunk/LICENSE)
  lua/repos/staging-x86_64/PKGBUILD
(from rev 343460, lua/trunk/PKGBUILD)
  lua/repos/staging-x86_64/liblua.so.patch
(from rev 343460, lua/trunk/liblua.so.patch)
  lua/repos/staging-x86_64/lua.pc
(from rev 343460, lua/trunk/lua.pc)

-+
 LICENSE |   30 +++
 PKGBUILD|   60 ++
 liblua.so.patch |   60 ++
 lua.pc  |   20 ++
 4 files changed, 170 insertions(+)

Copied: lua/repos/staging-x86_64/LICENSE (from rev 343460, lua/trunk/LICENSE)
===
--- staging-x86_64/LICENSE  (rev 0)
+++ staging-x86_64/LICENSE  2019-01-10 15:12:40 UTC (rev 343461)
@@ -0,0 +1,30 @@
+License
+
+Lua is free software distributed under the terms of the MIT license
+reproduced below; it may be used for any purpose, including commercial
+purposes, at absolutely no cost without having to ask us. The only
+requirement is that if you do use Lua, then you should give us credit
+by including the appropriate copyright notice somewhere in your
+product or its documentation.
+
+Copyright © 1994–2015 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.  

Copied: lua/repos/staging-x86_64/PKGBUILD (from rev 343460, lua/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-01-10 15:12:40 UTC (rev 343461)
@@ -0,0 +1,60 @@
+# Maintainer: Sébastien Luttringer 
+# Contributor: Juergen Hoetzel 
+# Contributor: Damir Perisa 
+
+pkgname=lua
+pkgver=5.3.5
+_majorver=${pkgver%.*}
+pkgrel=2
+pkgdesc='Powerful lightweight programming language designed for extending 
applications'
+arch=('x86_64')
+url='http://www.lua.org/'
+depends=('readline')
+license=('MIT')
+options=('!emptydirs')
+source=(https://www.lua.org/ftp/lua-$pkgver.tar.gz
+liblua.so.patch
+lua.pc
+LICENSE)
+sha1sums=('112eb10ff04d1b4c9898e121d6bdf54a81482447'
+  'cb7b2870358e03bffcb58578a651bf9b287e'
+  '1aee8d1a219639d0efc534e483ffa1ee236fb393'
+  '05f5f3b7bef0258bd617c505b8992de639af4551')
+
+prepare() {
+  cd lua-$pkgver
+  patch -p1 -i ../liblua.so.patch
+
+  sed "s/%VER%/$_majorver/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
+
+  # Lua 5.3.4 has wrong release version in its Makefile. Fix it.
+  sed "s/^R= \$V.4/R= \$V.5/" -i Makefile
+}
+
+build() {
+  cd lua-$pkgver
+
+  # quite a lot of packages still use lua 5.1 API, enable 5.1 compat mode
+  make MYCFLAGS="$CFLAGS -fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" 
MYLDFLAGS="$LDFLAGS" linux
+}
+
+package() {
+  cd lua-$pkgver
+
+  make \
+TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
+INSTALL_DATA='cp -d' \
+INSTALL_TOP="$pkgdir"/usr \
+INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
+install
+  ln -sf /usr/bin/lua "$pkgdir"/usr/bin/lua$_majorver
+  ln -sf /usr/bin/luac "$pkgdir"/usr/bin/luac$_majorver
+  ln -sf /usr/lib/liblua.so.$pkgver "$pkgdir"/usr/lib/liblua$_majorver.so
+
+  install -Dm644 lua.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}53.pc
+  ln -sf /usr/lib/pkgconfig/${pkgname}53.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 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: lua/repos/staging-x86_64/liblua.so.patch (from rev 343460, 
lua/trunk/liblua.so.patch)

[arch-commits] Commit in lua/repos (5 files)

2018-07-10 Thread Anatol Pomozov via arch-commits
Date: Tuesday, July 10, 2018 @ 15:26:58
  Author: anatolik
Revision: 328222

archrelease: copy trunk to testing-x86_64

Added:
  lua/repos/testing-x86_64/
  lua/repos/testing-x86_64/LICENSE
(from rev 328221, lua/trunk/LICENSE)
  lua/repos/testing-x86_64/PKGBUILD
(from rev 328221, lua/trunk/PKGBUILD)
  lua/repos/testing-x86_64/liblua.so.patch
(from rev 328221, lua/trunk/liblua.so.patch)
  lua/repos/testing-x86_64/lua.pc
(from rev 328221, lua/trunk/lua.pc)

-+
 LICENSE |   30 ++
 PKGBUILD|   61 ++
 liblua.so.patch |   60 +
 lua.pc  |   20 +
 4 files changed, 171 insertions(+)

Copied: lua/repos/testing-x86_64/LICENSE (from rev 328221, lua/trunk/LICENSE)
===
--- testing-x86_64/LICENSE  (rev 0)
+++ testing-x86_64/LICENSE  2018-07-10 15:26:58 UTC (rev 328222)
@@ -0,0 +1,30 @@
+License
+
+Lua is free software distributed under the terms of the MIT license
+reproduced below; it may be used for any purpose, including commercial
+purposes, at absolutely no cost without having to ask us. The only
+requirement is that if you do use Lua, then you should give us credit
+by including the appropriate copyright notice somewhere in your
+product or its documentation.
+
+Copyright © 1994–2015 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.  

Copied: lua/repos/testing-x86_64/PKGBUILD (from rev 328221, lua/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-07-10 15:26:58 UTC (rev 328222)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Sébastien Luttringer 
+# Contributor: Juergen Hoetzel 
+# Contributor: Damir Perisa 
+
+pkgname=lua
+pkgver=5.3.5
+_majorver=${pkgver%.*}
+pkgrel=1
+pkgdesc='Powerful lightweight programming language designed for extending 
applications'
+arch=('x86_64')
+url='http://www.lua.org/'
+depends=('readline')
+license=('MIT')
+options=('!emptydirs')
+source=(https://www.lua.org/ftp/lua-$pkgver.tar.gz
+liblua.so.patch
+lua.pc
+LICENSE)
+sha1sums=('112eb10ff04d1b4c9898e121d6bdf54a81482447'
+  'cb7b2870358e03bffcb58578a651bf9b287e'
+  '1aee8d1a219639d0efc534e483ffa1ee236fb393'
+  '05f5f3b7bef0258bd617c505b8992de639af4551')
+
+prepare() {
+  cd lua-$pkgver
+  patch -p1 -i ../liblua.so.patch
+
+  sed "s/%VER%/$_majorver/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
+
+  # Lua 5.3.4 has wrong release version in its Makefile. Fix it.
+  sed "s/^R= \$V.4/R= \$V.5/" -i Makefile
+}
+
+build() {
+  cd lua-$pkgver
+
+  # quite a lot of packages still use lua 5.1 API, enable 5.1 compat mode
+  make MYCFLAGS="$CFLAGS -fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" 
MYLDFLAGS="$LDFLAGS" linux
+}
+
+package() {
+  cd lua-$pkgver
+
+  make \
+TO_LIB="liblua.a liblua.so liblua.so.$_majorver liblua.so.$pkgver" \
+INSTALL_DATA='cp -d' \
+INSTALL_TOP="$pkgdir"/usr \
+INSTALL_MAN="$pkgdir"/usr/share/man/man1 \
+install
+  ln -sf /usr/bin/lua "$pkgdir"/usr/bin/lua$_majorver
+  ln -sf /usr/bin/luac "$pkgdir"/usr/bin/luac$_majorver
+  ln -sf /usr/lib/liblua.so.$pkgver "$pkgdir"/usr/lib/liblua$_majorver.so
+
+  install -Dm644 lua.pc "$pkgdir"/usr/lib/pkgconfig/${pkgname}53.pc
+  ln -sf /usr/lib/pkgconfig/${pkgname}53.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 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: lua/repos/testing-x86_64/liblua.so.patch (from rev 328221, 
lua/trunk/liblua.so.patch)