initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

32
openttd-opengfx/PKGBUILD Normal file
View File

@@ -0,0 +1,32 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=openttd-opengfx
pkgver=7.1
pkgrel=4
pkgdesc="A free and libre graphics set for OpenTTD"
arch=('any')
url='https://github.com/OpenTTD/OpenGFX'
license=('GPL-2')
makedepends=('nml' 'grfcodec')
groups=('games')
source=("${pkgname}-${pkgver}.tar.xz::https://deb.debian.org/debian/pool/main/o/openttd-opengfx/openttd-opengfx_${pkgver}.orig.tar.xz")
sha512sums=('55079babcd78d4a36279cb7610b6800308aca8409ed3b9fa33cd4993b0c1f988d7afe270b17930b97609c4fdf8cf4e362e17c11bd85d2ef136d042256c98483f')
prepare() {
mv "opengfx-$pkgver-source" "$pkgname-$pkgver"
}
build() {
cd "$pkgname-$pkgver"
make grf INSTALL_DIR="$pkgdir/usr/share/games/openttd/data" _V= PYTHON=python3
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" INSTALL_DIR="$pkgdir/usr/share/games/openttd/data" install
# cleaning structure
rm "$pkgdir/usr/share/games/openttd/data/"{changelog,license,readme}.txt
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}