git » openttd.git » commit ad0d594

openttd 15.0_beta1

author Urja (ARMLFS builder)
2025-02-10 10:31:05 UTC
committer Urja (ARMLFS builder)
2025-02-10 10:31:05 UTC
parent e6fed2044f3ec3fa421159f72a88b0eedf66c49c

openttd 15.0_beta1

.SRCINFO +5 -4
.gitignore +2 -0
PKGBUILD +8 -7

diff --git a/.SRCINFO b/.SRCINFO
index bad37d4..5421f3d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
 pkgbase = openttd
 	pkgdesc = Engine for running Transport Tycoon Deluxe
-	pkgver = 14.1
-	pkgrel = 2
+	pkgver = 15.0_beta1
+	pkgrel = 1
 	url = https://www.openttd.org
 	arch = x86_64
+	arch = armv7h
 	license = GPL
 	makedepends = cmake
 	makedepends = ninja
@@ -12,7 +13,7 @@ pkgbase = openttd
 	depends = hicolor-icon-theme
 	optdepends = openttd-opengfx: free graphics
 	optdepends = openttd-opensfx: free soundset
-	source = https://cdn.openttd.org/openttd-releases/14.1/openttd-14.1-source.tar.xz
-	b2sums = d107cd41a04f1a0bcfd41730e57628787443e8fe6d90dd59b0211b115b462a8e57e68a30e4b1c72d5f9db2121650f1c4035303e64f7e2e71fdedb23665f445da
+	source = https://cdn.openttd.org/openttd-releases/15.0-beta1/openttd-15.0-beta1-source.tar.xz
+	sha256sums = dccf62908094cef8911eb494b27bc76cce558d8d975056775e62b9a05cc79867
 
 pkgname = openttd
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a43258a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/src/
+/pkg/
diff --git a/PKGBUILD b/PKGBUILD
index 542cd7f..c151a07 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,21 @@
 # Contributor: Vesa Kaihlavirta <vegai@iki.fi>
 
 pkgname=openttd
-pkgver=14.1
-pkgrel=2
+pkgver=15.0_beta1
+_pkgver=${pkgver//_/-}
+pkgrel=1
 pkgdesc='Engine for running Transport Tycoon Deluxe'
-arch=(x86_64)
+arch=(x86_64 'armv7h')
 url='https://www.openttd.org'
 license=(GPL)
 depends=(fluidsynth fontconfig hicolor-icon-theme)
 makedepends=(cmake ninja)
 optdepends=('openttd-opengfx: free graphics'
             'openttd-opensfx: free soundset')
-source=("https://cdn.$pkgname.org/$pkgname-releases/$pkgver/$pkgname-$pkgver-source.tar.xz")
-b2sums=('d107cd41a04f1a0bcfd41730e57628787443e8fe6d90dd59b0211b115b462a8e57e68a30e4b1c72d5f9db2121650f1c4035303e64f7e2e71fdedb23665f445da')
+source=("https://cdn.$pkgname.org/$pkgname-releases/$_pkgver/$pkgname-$_pkgver-source.tar.xz")
 
 prepare() {
-  sed -i '/sse/d;/SSE/d' $pkgname-$pkgver/CMakeLists.txt
+  sed -i '/sse/d;/SSE/d' $pkgname-$_pkgver/CMakeLists.txt
 }
 
 build() {
@@ -28,10 +28,11 @@ build() {
     -D CMAKE_INSTALL_DATADIR=/usr/share \
     -D CMAKE_INSTALL_PREFIX=/usr \
     -G Ninja \
-    -S $pkgname-$pkgver
+    -S $pkgname-$_pkgver
   ninja -C build
 }
 
 package() {
   DESTDIR="$pkgdir" ninja -C build install
 }
+sha256sums=('dccf62908094cef8911eb494b27bc76cce558d8d975056775e62b9a05cc79867')