aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Beal <git@danb.email>2018-10-01 22:04:43 -0700
committerNatanael Copa <ncopa@alpinelinux.org>2018-10-15 13:58:55 +0000
commit553810d7c56a1a475d6873a101d2f31ec63222c4 (patch)
tree86b6bf1efb07dadebee9bda1163f69446f36d219
parentd4fa6fe881864b95c1d42e67db58e3260eed105b (diff)
downloadaports-553810d7c56a1a475d6873a101d2f31ec63222c4.tar.bz2
aports-553810d7c56a1a475d6873a101d2f31ec63222c4.tar.xz
testing/openttd: add basic check section
-rw-r--r--testing/openttd/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/testing/openttd/APKBUILD b/testing/openttd/APKBUILD
index 20344dabe5..62d2da8462 100644
--- a/testing/openttd/APKBUILD
+++ b/testing/openttd/APKBUILD
@@ -10,7 +10,6 @@ license="GPL-2.0-only"
depends=""
makedepends="fontconfig-dev freetype-dev libpng-dev lzo-dev sdl-dev xz-dev zlib-dev"
subpackages="$pkgname-doc $pkgname-lang::noarch"
-options="!check"
source="https://binaries.openttd.org/releases/$pkgver/$pkgname-$pkgver-source.tar.xz
fix-pthread-stacksize.patch"
builddir="$srcdir/$pkgname-$pkgver"
@@ -37,6 +36,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ bin/openttd --version
+}
+
package() {
cd "$builddir"
make install