aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua5.2
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-17 01:23:02 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-08-28 08:40:45 +0000
commit7a4c6a646dd9b39eb358088956ca3bc54a65d12b (patch)
treea5029c20077f645f95fc12a7bcc0edf1f377cd58 /main/lua5.2
parente1a3336f158760bd5d084036d3c871c9dfa44cb7 (diff)
downloadaports-7a4c6a646dd9b39eb358088956ca3bc54a65d12b.tar.bz2
aports-7a4c6a646dd9b39eb358088956ca3bc54a65d12b.tar.xz
main/lua5.2: add some definition of a "test suite"
Diffstat (limited to 'main/lua5.2')
-rw-r--r--main/lua5.2/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/lua5.2/APKBUILD b/main/lua5.2/APKBUILD
index 785486dfad..a66fad3f50 100644
--- a/main/lua5.2/APKBUILD
+++ b/main/lua5.2/APKBUILD
@@ -2,7 +2,7 @@
pkgname=lua5.2
pkgver=5.2.4
_luaver=${pkgname#lua}
-pkgrel=3
+pkgrel=4
pkgdesc="Powerful light-weight programming language"
url="http://www.lua.org/"
arch="all"
@@ -58,6 +58,11 @@ build() {
alpine_all || return 1
}
+check() {
+ cd "$_builddir"
+ make test
+}
+
package() {
cd "$_builddir"
make V=$pkgver \