[arch-commits] Commit in lua-filesystem/repos/community-x86_64 (4 files)

Daurnimator daurnimator at archlinux.org
Fri May 8 14:43:41 UTC 2020


    Date: Friday, May 8, 2020 @ 14:43:41
  Author: daurnimator
Revision: 625689

archrelease: copy trunk to community-x86_64

Added:
  lua-filesystem/repos/community-x86_64/LICENSE
    (from rev 625688, lua-filesystem/trunk/LICENSE)
  lua-filesystem/repos/community-x86_64/PKGBUILD
    (from rev 625688, lua-filesystem/trunk/PKGBUILD)
Deleted:
  lua-filesystem/repos/community-x86_64/LICENSE
  lua-filesystem/repos/community-x86_64/PKGBUILD

----------+
 LICENSE  |   44 +++++++++++------------
 PKGBUILD |  112 +++++++++++++++++++++++++------------------------------------
 2 files changed, 69 insertions(+), 87 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2020-05-08 14:37:40 UTC (rev 625688)
+++ LICENSE	2020-05-08 14:43:41 UTC (rev 625689)
@@ -1,22 +0,0 @@
-Copyright (C) 2004-2007 The Kepler Project.
-
-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-filesystem/repos/community-x86_64/LICENSE (from rev 625688, lua-filesystem/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2020-05-08 14:43:41 UTC (rev 625689)
@@ -0,0 +1,22 @@
+Copyright (C) 2004-2007 The Kepler Project.
+
+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.
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 14:37:40 UTC (rev 625688)
+++ PKGBUILD	2020-05-08 14:43:41 UTC (rev 625689)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
-# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
-# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
-# Contributor: Anders Bergh <anders1 at gmail.com>
-
-pkgbase=luafilesystem
-pkgname=(lua-filesystem lua51-filesystem lua52-filesystem)
-pkgver=1.7.0.2
-_tag=${pkgver//./_}
-pkgrel=1
-pkgdesc='File System Library for the Lua Programming Language'
-arch=('i686' 'x86_64')
-url='http://keplerproject.github.io/luafilesystem/'
-license=('MIT')
-makedepends=(lua lua51 lua52)
-#source=(http://github.com/downloads/keplerproject/$pkgbase/$pkgbase-$pkgver.tar.gz
-source=(luafilesystem-${_tag}.tar.gz::https://github.com/keplerproject/luafilesystem/archive/v${_tag}.tar.gz
-        LICENSE)
-sha256sums=('23b4883aeb4fb90b2d0f338659f33a631f9df7a7e67c54115775a77d4ac3cc59'
-            'bab7b7a48ca7cb322a35c8975cd2c08d051ce6e20e8db56c2e6017726acdf9ae')
-
-build() {
-  cd "$srcdir"
-  msg2 "Building $pkgbase with Lua 5.1"
-  cp -a $pkgbase-${_tag} $pkgbase-${_tag}-51
-  cd $pkgbase-${_tag}-51
-  make LUA_INC=/usr/include/lua5.1
-
-  msg2 "Building $pkgbase with Lua 5.2"
-  cd "$srcdir"
-  cp -a $pkgbase-${_tag} $pkgbase-${_tag}-52
-  cd $pkgbase-${_tag}-52
-  make LUA_INC=/usr/include/lua5.2
-
-  msg2 "Building $pkgbase with Lua 5.3"
-  cd "$srcdir"/$pkgbase-${_tag}
-  make
-}
-
-package_lua-filesystem() {
-  depends=('lua')
-
-  cd $pkgbase-${_tag}
-  make PREFIX="$pkgdir"/usr LUA_LIBDIR='$(PREFIX)/lib/lua/5.3' install
-  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_lua51-filesystem() {
-  depends=('lua51')
-  conflicts=('luafilesystem')
-  replaces=('luafilesystem')
-
-  cd $pkgbase-${_tag}-51
-  make PREFIX="$pkgdir"/usr LUA_LIBDIR='$(PREFIX)/lib/lua/5.1' install
-  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_lua52-filesystem() {
-  depends=('lua52')
-
-  cd $pkgbase-${_tag}-52
-  make PREFIX="$pkgdir"/usr LUA_LIBDIR='$(PREFIX)/lib/lua/5.2' install
-  install -Dm644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: lua-filesystem/repos/community-x86_64/PKGBUILD (from rev 625688, lua-filesystem/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-08 14:43:41 UTC (rev 625689)
@@ -0,0 +1,47 @@
+# Maintainer: Sergej Pupykin <arch+pub at p5n.pp.ru>
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
+# Contributor: Anders Bergh <anders1 at gmail.com>
+
+pkgbase=lua-filesystem
+pkgname=(lua-filesystem lua51-filesystem lua52-filesystem)
+pkgver=1.8.0
+_tag=${pkgver//./_}
+pkgrel=1
+pkgdesc='File System Library for the Lua Programming Language'
+arch=('x86_64')
+url='http://keplerproject.github.io/luafilesystem/'
+license=('MIT')
+makedepends=('lua' 'lua51' 'lua52')
+source=("$pkgbase-${_tag}.tar.gz::https://github.com/keplerproject/luafilesystem/archive/v${_tag}.tar.gz")
+sha256sums=('16d17c788b8093f2047325343f5e9b74cccb1ea96001e45914a58bbae8932495')
+
+build() {
+  cp -a luafilesystem-${_tag} luafilesystem-${_tag}-51
+  make -C luafilesystem-${_tag}-51 PREFIX=/usr LIB_OPTION="-shared ${LDFLAGS}" LUA_VERSION=5.1
+
+  cp -a luafilesystem-${_tag} luafilesystem-${_tag}-52
+  make -C luafilesystem-${_tag}-52 PREFIX=/usr LIB_OPTION="-shared ${LDFLAGS}" LUA_VERSION=5.2
+
+  make -C luafilesystem-${_tag} PREFIX=/usr LIB_OPTION="-shared ${LDFLAGS}" LUA_VERSION=5.3
+}
+
+package_lua-filesystem() {
+  cd luafilesystem-${_tag}
+  make DESTDIR="$pkgdir" PREFIX=/usr LUA_VERSION=5.3 install
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_lua51-filesystem() {
+  cd luafilesystem-${_tag}-51
+  make DESTDIR="$pkgdir" PREFIX=/usr LUA_VERSION=5.1 install
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_lua52-filesystem() {
+  cd luafilesystem-${_tag}-52
+  make DESTDIR="$pkgdir" PREFIX=/usr LUA_VERSION=5.2 install
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list