Skip to content
Snippets Groups Projects
Verified Commit 9647ec81 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/trigger-rally: new package

parent 36d33080
No related branches found
No related tags found
No related merge requests found
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=trigger-rally
pkgver=0.6.5
pkgrel=0
pkgdesc="Fast-paced rally racing game"
url="http://trigger-rally.sourceforge.net/"
arch="all"
options="!check" # No test suite.
license="GPL-2.0-only"
depends=""
makedepends="freealut-dev glew-dev glu-dev openal-soft-dev physfs-dev sdl2-dev
sdl2_image-dev"
source="https://downloads.sourceforge.net/trigger-rally/trigger-rally-$pkgver.tar.gz
dont-strip.patch
"
build() {
cd "$builddir"/src
make OPTIMS="$CXXFLAGS -Wno-deprecated-declarations" DESTDIR="$pkgdir" prefix=/usr build
}
package() {
cd "$builddir"/src
make OPTIMS="$CXXFLAGS" DESTDIR="$pkgdir" prefix=/usr install
}
sha512sums="59f48c116b20e47559b4c07107fa4055a9ad516e9c147763e4ba5d2ead3a4a5101f7d690483a1ef0df847ca647c0f750937512ee579f4ae06908157d9eabf184 trigger-rally-0.6.5.tar.gz
a81781058177e012daaad58d72e4bdbdbc2730b1df76941ba03f06367545b213ba82a33bab46deba31570973deb1802a3d459704c3a963c38eec69ef82f228d5 dont-strip.patch"
--- trigger-rally-0.6.5/src/GNUmakefile.old 2016-11-05 17:27:10.000000000 +0000
+++ trigger-rally-0.6.5/src/GNUmakefile 2018-08-07 02:37:36.010000000 +0000
@@ -118,7 +118,7 @@
@cd ../..; \
md5sum "$(DISTARC)" > "$(DISTARC).md5"
-# links the object files into the executable, which it then strips
+# links the object files into the executable
$(TR_EXEFILE): $(OBJFILES)
@printf "%s" $(CXX)
@for file in $(OBJFILES); do \
@@ -126,8 +126,6 @@
done;
@printf "\t-> %s\n" $@
@$(CXX) -o $@ $(OBJFILES) $(LDFLAGS)
- @printf "strip\t%s\n" $@
- @strip $@
#
# removes object files, dependency files, executable and
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment