[arch-commits] Commit in penlight/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 23:16:40 UTC 2018


    Date: Friday, November 9, 2018 @ 23:16:39
  Author: foutrelis
Revision: 405226

archrelease: copy trunk to community-staging-any

Added:
  penlight/repos/community-staging-any/
  penlight/repos/community-staging-any/PKGBUILD
    (from rev 405225, penlight/trunk/PKGBUILD)

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

Copied: penlight/repos/community-staging-any/PKGBUILD (from rev 405225, penlight/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 23:16:39 UTC (rev 405226)
@@ -0,0 +1,35 @@
+# 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')
+pkgver=1.5.4
+pkgrel=2
+pkgdesc='Lua libraries focusing on input data handling'
+url='https://github.com/stevedonovan/penlight'
+arch=('any')
+license=('custom')
+depends=('lua' 'lua-filesystem')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/stevedonovan/penlight/archive/${pkgver}.tar.gz)
+sha256sums=('c0bcbb0874fb559ab0a3de30a21244799b7fdf8b81b34a3df0493b12ee7a5ff1')
+sha512sums=('c46e7875410a90390bfbf010a53f1d536475e2094668722618d03951caad0fcb0674c9bc7119a0753e4ed3df9e4d70fef828ba4c6c24e8ada4036948d2432519')
+
+check() {
+  cd Penlight-${pkgver}
+  export LUA_PATH="${PWD}/lua/?/init.lua;${PWD}/lua/?.lua;$(lua -e 'print(package.path)')"
+  lua run.lua
+}
+
+package_lua-penlight() {
+  cd Penlight-${pkgver}
+  install -Dm 644 lua/pl/* -t "${pkgdir}/usr/share/lua/5.3/pl"
+  install -Dm 644 CONTRIBUTING.md CHANGES.md README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 doc/manual/* -t "${pkgdir}/usr/share/doc/${pkgname}/manual"
+  install -Dm 644 examples/* -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+  install -Dm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list