diff options
Diffstat (limited to 'user/torcs/APKBUILD')
-rw-r--r-- | user/torcs/APKBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/user/torcs/APKBUILD b/user/torcs/APKBUILD index ef7c3cb23..efb66c3bd 100644 --- a/user/torcs/APKBUILD +++ b/user/torcs/APKBUILD @@ -2,16 +2,16 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=torcs pkgver=1.3.7 -pkgrel=0 +pkgrel=1 pkgdesc="The Open Racing Car Simulator" url="http://torcs.sourceforge.net/" arch="all" options="!check" # No test suite. license="GPL-2.0+" depends="" -makedepends="freealut-dev freeglut-dev libogg-dev libpng-dev libsm-dev - libvorbis-dev libxmu-dev libxrandr-dev libxrender-dev libxt-dev mesa-dev - openal-soft-dev plib-dev zlib-dev" +makedepends="freealut-dev freeglut-dev libglvnd-dev libogg-dev libpng-dev + libsm-dev libvorbis-dev libxmu-dev libxrandr-dev libxrender-dev + libxt-dev openal-soft-dev plib-dev zlib-dev autoconf automake" subpackages="$pkgname-data::noarch" source="https://sourceforge.net/projects/torcs/files/all-in-one/$pkgver/torcs-$pkgver.tar.bz2 torcs-1.3.6-as-needed.patch @@ -22,7 +22,6 @@ source="https://sourceforge.net/projects/torcs/files/all-in-one/$pkgver/torcs-$p " build() { - cd "$builddir" export CXXFLAGS="$CXXFLAGS -fpermissive" # GCC 8 autoreconf ./configure \ @@ -36,16 +35,14 @@ build() { } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } data() { pkgdesc="Data files for TORCS" - cd "$builddir" mkdir -p "$subpkgdir"/usr/share/games chgrp games "$subpkgdir"/usr/share/games - make DESTDIR="$subpkgdir" datainstall + make DESTDIR="$subpkgdir" -C "$builddir" datainstall } sha512sums="14b88624803c746b2f356fa185aca5be56b7d7e5192fede11307474100328bfaa67eafa61e84987bbad04590ae5740127e015707723df6d2c3197bb867818101 torcs-1.3.7.tar.bz2 |