aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-03-09 19:52:12 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-09 16:20:58 -0300
commit00935aac3b9a44132b0fd6e2705b541ea68df249 (patch)
treef26050a1d968686bb383c70422cde09f8b41b8c5
parent3ab725f2f72f5d816c9592ca5f80462f48213906 (diff)
downloadaports-00935aac3b9a44132b0fd6e2705b541ea68df249.tar.gz
aports-00935aac3b9a44132b0fd6e2705b541ea68df249.tar.bz2
aports-00935aac3b9a44132b0fd6e2705b541ea68df249.tar.xz
testing/openttd-opensfx: modernize
-rw-r--r--testing/openttd-opensfx/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/openttd-opensfx/APKBUILD b/testing/openttd-opensfx/APKBUILD
index 4931691ba0..9d1f50e6a5 100644
--- a/testing/openttd-opensfx/APKBUILD
+++ b/testing/openttd-opensfx/APKBUILD
@@ -2,19 +2,17 @@
# Maintainer: Adrian Siekierka <kontakt@asie.pl>
pkgname=openttd-opensfx
pkgver=0.2.3
-pkgrel=0
+pkgrel=1
pkgdesc="Free sound effect set for OpenTTD"
-url="http://openttd.org/"
+url="https://www.openttd.org/"
arch="noarch"
license="CC-SamplingPlus-1.0"
-depends=""
-makedepends=""
-source="https://binaries.openttd.org/extra/opensfx/$pkgver/opensfx-$pkgver-all.zip"
+options="!check" # No test suite
+depends="openttd"
+source="https://cdn.openttd.org/opensfx-releases/$pkgver/opensfx-$pkgver-all.zip"
builddir="$srcdir/opensfx-$pkgver"
package() {
- cd "$builddir"
-
mkdir -p "$pkgdir/usr/share/games/openttd/data"
install -Dm644 *.cat *.obs "$pkgdir/usr/share/games/openttd/data"
}