summaryrefslogtreecommitdiff
path: root/user/torcs/APKBUILD
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
commit9297468fa579836e3a6a381b798feb6b78217c2d (patch)
tree53168212f427afbcf0693b534530a4af803152e9 /user/torcs/APKBUILD
parenta63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff)
parentda5a69b65a8791fffa6e93366ee585f87eff136d (diff)
downloadpackages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip
Merge branch 'master' into zfs
Diffstat (limited to 'user/torcs/APKBUILD')
-rw-r--r--user/torcs/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/user/torcs/APKBUILD b/user/torcs/APKBUILD
index ef7c3cb23..d8470bf18 100644
--- a/user/torcs/APKBUILD
+++ b/user/torcs/APKBUILD
@@ -11,7 +11,7 @@ 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"
+ 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