diff options
-rw-r--r-- | testing/openttd/APKBUILD | 6 |
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 |