[arch-commits] Commit in lua-mediator/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Dec 30 23:08:02 UTC 2021
Date: Thursday, December 30, 2021 @ 23:08:02
Author: alerque
Revision: 1089033
upgpkg: lua-mediator 1.1.2-6; add check() function using busted
Modified:
lua-mediator/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-30 23:07:00 UTC (rev 1089032)
+++ PKGBUILD 2021-12-30 23:08:02 UTC (rev 1089033)
@@ -6,7 +6,7 @@
pkgname=("lua-$_rockname" "lua53-$_rockname" "lua52-$_rockname" "lua51-$_rockname")
pkgver=1.1.2
_rockrel=0
-pkgrel=5
+pkgrel=6
pkgdesc='Event handling through channels'
arch=(any)
url="https://olivinelabs.com/$_project/"
@@ -16,10 +16,16 @@
lua52
lua53
luarocks)
+checkdepends=(busted)
_archive="$_project-$pkgver-$_rockrel"
-source=("$_archive.tgz::https://github.com/Olivine-Labs/$_project/archive/v$pkgver-$_rockrel.tar.gz")
+source=("https://github.com/Olivine-Labs/$_project/archive/v$pkgver-$_rockrel/$_archive.tar.gz")
sha256sums=('faf5859fd2081be4e9e4fb8873a2dc65f7eff3fd93d6dd14da65f8e123fcff9b')
+check() {
+ cd "$_archive"
+ busted
+}
+
_package() {
cd "$_archive"
depends=("${pkgname%-*}")
More information about the arch-commits
mailing list