aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-04-16 02:10:33 +0000
committerAriadne Conill <ariadne@dereferenced.org>2020-04-16 02:10:33 +0000
commit9431d28167b25dc980f668534ec111fd4875cede (patch)
tree4d25cd1e558f89dfa33a8def5471e7ca678c2252 /testing
parent6ad7b26eadb0cbc475c1e6f7d31fa5bfdc2466db (diff)
downloadaports-9431d28167b25dc980f668534ec111fd4875cede.tar.bz2
aports-9431d28167b25dc980f668534ec111fd4875cede.tar.xz
testing/openttd-*: convert depends to install_if rules to break circular dep
Diffstat (limited to 'testing')
-rw-r--r--testing/openttd-opengfx/APKBUILD2
-rw-r--r--testing/openttd-openmsx/APKBUILD2
-rw-r--r--testing/openttd-opensfx/APKBUILD2
3 files changed, 3 insertions, 3 deletions
diff --git a/testing/openttd-opengfx/APKBUILD b/testing/openttd-opengfx/APKBUILD
index e9734b1c08..ccb5576cfb 100644
--- a/testing/openttd-opengfx/APKBUILD
+++ b/testing/openttd-opengfx/APKBUILD
@@ -8,9 +8,9 @@ url="https://www.openttd.org/"
arch="noarch"
license="GPL-2.0-or-later"
options="!check" # No test suite
-depends="openttd"
source="https://cdn.openttd.org/opengfx-releases/$pkgver/opengfx-$pkgver-all.zip"
builddir="$srcdir/opengfx-$pkgver"
+install_if="openttd"
prepare() {
tar xf opengfx-$pkgver.tar
diff --git a/testing/openttd-openmsx/APKBUILD b/testing/openttd-openmsx/APKBUILD
index 6d59b1037e..c5a80c7b92 100644
--- a/testing/openttd-openmsx/APKBUILD
+++ b/testing/openttd-openmsx/APKBUILD
@@ -8,9 +8,9 @@ url="https://www.openttd.org/"
arch="noarch"
license="GPL-2.0-or-later"
options="!check" # No test suite
-depends="openttd"
source="https://cdn.openttd.org/openmsx-releases/$pkgver/openmsx-$pkgver-all.zip"
builddir="$srcdir/openmsx-$pkgver"
+install_if="openttd"
package() {
local file
diff --git a/testing/openttd-opensfx/APKBUILD b/testing/openttd-opensfx/APKBUILD
index 9d1f50e6a5..2000521298 100644
--- a/testing/openttd-opensfx/APKBUILD
+++ b/testing/openttd-opensfx/APKBUILD
@@ -8,9 +8,9 @@ url="https://www.openttd.org/"
arch="noarch"
license="CC-SamplingPlus-1.0"
options="!check" # No test suite
-depends="openttd"
source="https://cdn.openttd.org/opensfx-releases/$pkgver/opensfx-$pkgver-all.zip"
builddir="$srcdir/opensfx-$pkgver"
+install_if="openttd"
package() {
mkdir -p "$pkgdir/usr/share/games/openttd/data"