[arch-commits] Commit in penlight/repos/community-any (PKGBUILD PKGBUILD)

Daurnimator daurnimator at archlinux.org
Tue Jan 26 14:23:22 UTC 2021


    Date: Tuesday, January 26, 2021 @ 14:23:22
  Author: daurnimator
Revision: 830696

archrelease: copy trunk to community-any

Added:
  penlight/repos/community-any/PKGBUILD
    (from rev 830695, penlight/trunk/PKGBUILD)
Deleted:
  penlight/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  132 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 69 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-26 14:22:33 UTC (rev 830695)
+++ PKGBUILD	2021-01-26 14:23:22 UTC (rev 830696)
@@ -1,63 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sébastien Luttringer
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-# Contributor: Laszlo Papp <djszapi at archlinux us>
-# Contributor: Donald Ephraim Curtis <dcurtis at gmail.com>
-
-pkgbase=penlight
-pkgname=('lua-penlight' 'lua53-penlight' 'lua52-penlight' 'lua51-penlight')
-pkgver=1.9.0
-pkgrel=1
-pkgdesc='Lua libraries focusing on input data handling'
-url='https://github.com/stevedonovan/penlight'
-arch=('any')
-license=('custom')
-makedepends=(
-  'lua' 'lua-filesystem'
-  'lua53' 'lua53-filesystem'
-  'lua52' 'lua52-filesystem'
-  'lua51' 'lua51-filesystem'
-)
-source=(https://github.com/stevedonovan/penlight/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('3d7aee1df25ce8014051d508c7cd8e5c1f9bd7e0f4a51150be6820d4d731d341')
-sha512sums=('0bdf107f0c10bb36262cb4a48652a229d9bbdfb3ad563ec5574cbd69a14e85b013cffafb6c1a61424a75e19f4c4e6bba2605fee59a1ae12fef7ccdd95895fd14')
-
-check() {
-  cd Penlight-${pkgver}
-  local _version
-  for _version in 5.4 5.3 5.2 5.1; do
-    export LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;$(lua${_version} -e 'print(package.path)')"
-    lua5.3 run.lua
-  done
-}
-
-_package() {
-  lua_version="$1"
-  lib_version="$2"
-
-  depends=("${lua_version}" "${lua_version}-filesystem")
-  cd Penlight-${pkgver}
-  install -Dm 644 lua/pl/* -t "${pkgdir}/usr/share/lua/${lib_version}/pl"
-  install -Dm 644 CONTRIBUTING.md CHANGELOG.md README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/manual/* -t "${pkgdir}/usr/share/doc/${pkgname}/manual"
-  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
-  install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-package_lua-penlight() {
-  _package lua 5.4
-}
-
-package_lua53-penlight() {
-  _package lua53 5.3
-}
-
-package_lua52-penlight() {
-  _package lua52 5.2
-}
-
-package_lua51-penlight() {
-  _package lua51 5.1
-}
-
-# vim: ts=2 sw=2 et:

Copied: penlight/repos/community-any/PKGBUILD (from rev 830695, penlight/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-26 14:23:22 UTC (rev 830696)
@@ -0,0 +1,69 @@
+# Maintainer: Daurnimator <quae at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sébastien Luttringer
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Laszlo Papp <djszapi at archlinux us>
+# Contributor: Donald Ephraim Curtis <dcurtis at gmail.com>
+
+pkgbase=penlight
+pkgname=('lua-penlight' 'lua53-penlight' 'lua52-penlight' 'lua51-penlight')
+pkgver=1.9.2
+pkgrel=1
+pkgdesc='Lua libraries focusing on input data handling'
+url='https://github.com/lunarmodules/Penlight'
+arch=('any')
+license=('MIT')
+checkdepends=(
+  'lua' 'lua-filesystem'
+  'lua53' 'lua53-filesystem'
+  'lua52' 'lua52-filesystem'
+  'lua51' 'lua51-filesystem'
+)
+source=("https://github.com/lunarmodules/Penlight/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('1094368bd95f84428ce1ce814028f8a73ee6a952e18dfffc5fa05d9ee1f0e486')
+
+check() {
+  cd Penlight-${pkgver}
+  local _version
+  for _version in 5.4 5.3 5.2 5.1; do
+    export LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;;"
+    lua$_version run.lua
+  done
+}
+
+_package() {
+  lib_version="$1"
+
+  cd Penlight-${pkgver}
+  install -Dm 644 lua/pl/* -t "${pkgdir}/usr/share/lua/${lib_version}/pl"
+  install -Dm 644 CONTRIBUTING.md CHANGELOG.md README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 docs/manual/* -t "${pkgdir}/usr/share/doc/${pkgname}/manual"
+  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+  install -Dm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+package_lua53-penlight() {
+  depends=("lua53-filesystem")
+
+  _package 5.3
+}
+
+package_lua52-penlight() {
+  depends=("lua52-filesystem")
+
+  _package 5.2
+}
+
+package_lua51-penlight() {
+  depends=("lua51-filesystem")
+
+  _package 5.1
+}
+
+package_lua-penlight() {
+  depends=("lua-filesystem")
+
+  _package 5.4
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list