diff options
author | Caleb Maclennan | 2020-08-05 12:15:02 +0300 |
---|---|---|
committer | Caleb Maclennan | 2020-08-05 12:15:02 +0300 |
commit | a81f4481e6e2fa6082b841ca9e334ce922605d2c (patch) | |
tree | 8f1f90fdb3164a061747105860163537887ad877 | |
parent | 546a70f520315bf2e6bc89c4b996061dabe7074e (diff) | |
download | aur-a81f4481e6e2fa6082b841ca9e334ce922605d2c.tar.gz |
upgpkg: lua-penlight-git 1.8.0.r0.g76079c1-1
upstream release
Usher in Lua 5.4 compatable build
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 31 insertions, 13 deletions
@@ -1,13 +1,16 @@ pkgbase = lua-penlight-git pkgdesc = Lua libraries for on input data handling, functional programming, and OS interface - pkgver = 1.7.0.r4.ge469fa0 - pkgrel = 2 + pkgver = 1.8.0.r0.g76079c1 + pkgrel = 1 url = https://tieske.github.io/Penlight arch = any license = MIT checkdepends = lua - checkdepends = lua-luacov checkdepends = lua-filesystem + makedepends = lua + makedepends = lua53 + makedepends = lua52 + makedepends = lua51 source = penlight::git+https://github.com/Tieske/Penlight.git sha256sums = SKIP @@ -17,6 +20,12 @@ pkgname = lua-penlight-git provides = lua-penlight conflicts = lua-penlight +pkgname = lua53-penlight-git + depends = lua53 + depends = lua53-filesystem + provides = lua53-penlight + conflicts = lua53-penlight + pkgname = lua52-penlight-git depends = lua52 depends = lua52-filesystem @@ -2,21 +2,23 @@ # Contributor: Aaron McDaniel (mcd1992) <'aur' at the domain 'fgthou.se'> _pkgname=penlight -pkgname=("lua-$_pkgname-git" "lua52-$_pkgname-git" "lua51-$_pkgname-git") -pkgver=1.7.0.r4.ge469fa0 -pkgrel=3 +pkgname=("lua-$_pkgname-git" "lua53-$_pkgname-git" "lua52-$_pkgname-git" "lua51-$_pkgname-git") +pkgver=1.8.0.r0.g76079c1 +pkgrel=1 pkgdesc='Lua libraries for on input data handling, functional programming, and OS interface' url='https://tieske.github.io/Penlight' arch=('any') license=('MIT') _lua_deps=('filesystem') -checkdepends=('lua' 'lua-luacov' "${_lua_deps[@]/#/lua-}") # Luacov because of upstream bug since fixed, remove when bumping release +makedepends=('lua' 'lua53' 'lua52' 'lua51') +checkdepends=('lua' "${_lua_deps[@]/#/lua-}") source=("$_pkgname::git+https://github.com/Tieske/Penlight.git") sha256sums=('SKIP') pkgver() { cd "$_pkgname" - git describe --tags --abbrev=7 HEAD | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags --abbrev=7 HEAD | + sed 's/\([^-]*-g\)/r\1/;s/-/./g' } check() { @@ -27,17 +29,24 @@ check() { _package_helper() { cd "$_pkgname" - install -Dm 644 lua/pl/* -t "$pkgdir/usr/share/lua/$1/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" + install -Dm 644 -t "$pkgdir/usr/share/lua/$1/pl" lua/pl/* + install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" CONTRIBUTING.md CHANGELOG.md README.md + install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/manual/" docs/manual/* + install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/examples/" examples/* + install -Dm 644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.md } package_lua-penlight-git() { depends+=('lua' "${_lua_deps[@]/#/lua-}") provides=("${pkgname/%-git}") conflicts=("${pkgname/%-git}") + _package_helper 5.4 +} + +package_lua53-penlight-git() { + depends+=('lua53' "${_lua_deps[@]/#/lua53-}") + provides=("${pkgname/%-git}") + conflicts=("${pkgname/%-git}") _package_helper 5.3 } |