Commit f06f2408 authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by Leo

trigger-rally: new aport

parent ac02aad4
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=trigger-rally
pkgver=0.6.6.1
pkgrel=0
pkgdesc="Fast-paced free software rally racing game"
url="https://trigger-rally.sourceforge.io/"
arch="all"
license="GPL-3.0-or-later"
depends="$pkgname-data"
makedepends="sdl2-dev sdl2_image-dev freealut-dev physfs-dev glew-dev tinyxml2-dev openal-soft-dev"
subpackages="$pkgname-doc $pkgname-data::noarch"
options="!check" # No testsuite
source="https://sourceforge.net/projects/aat-linux-repository/files/sources/alpine/trigger-rally/trigger-rally-$pkgver.tar.gz
trigger-rally.desktop
"
builddir="$srcdir/$pkgname-$pkgver/src"
build() {
make -f GNUmakefile
}
package() {
make install \
DESTDIR="$pkgdir" \
exec_prefix=/usr \
bindir=/usr/bin \
prefix=/usr
install -Dm644 "$srcdir"/trigger-rally.desktop \
"$pkgdir"/usr/share/applications/trigger-rally.desktop
cd "$srcdir/$pkgname-$pkgver/data/icon"
install -Dm644 trigger-16.png "$pkgdir/usr/share/icons/hicolor/16x16/apps/$pkgname.png"
install -Dm644 trigger-32.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/$pkgname.png"
install -Dm644 trigger-64.png "$pkgdir/usr/share/icons/hicolor/64x64/apps/$pkgname.png"
install -Dm644 trigger-rally-icons.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
install -Dm644 trigger-64.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
mv "$pkgdir"/usr/bin/trigger-rally.config.defs "$pkgdir"/usr/share/games/trigger-rally/trigger-rally.config.defs
}
data() {
pkgdesc="$pkgdesc (data files)"
amove /usr/share/games/trigger-rally
}
sha512sums="b3d45f64b2ce6104db7af1536ec9568396b36f2a049bf335f43ea715e374cbb91a7ff30940971cf7d6af5215937aef1d94b5966fa23d73d7fa1834ef9e687f79 trigger-rally-0.6.6.1.tar.gz
14dbf1fa47de53b86ca66ba81c5c47543201b15e5bb5269f99ed80e5e143d3aa6e5bd35a3ca666019d919737e8324bd1756f4a6d7f55a6b9826be454a92e0759 trigger-rally.desktop"
[Desktop Entry]
Name=Trigger Rally
Icon=trigger-rally
Comment=3D rally racing car game
Comment[de]=3D Rally-Autorennen
Comment[fr_FR]=un jeu de rally en 3D
Comment[ro_RO]=Un joc în 3D cu curse de raliu
Exec=/usr/bin/trigger-rally
Terminal=false
StartupNotify=false
Type=Application
TryExec=/usr/bin/trigger-rally
Categories=Game;ArcadeGame;
Keywords=racing;tracks;
Keywords[de]=Rennstrecke;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment