vkquake: fixed build against gcc 10

This commit is contained in:
Tim Biermann 2020-10-17 15:15:16 +00:00
parent 777a75cec0
commit 69d2ac27e4
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 12 additions and 13 deletions

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF37kaQz9zCfecv1weIl4ZXGgTJTk4u6i/6rykCdUmPxddHGZrHwuZjDcEepsbXt+jjHjE82ImB73PEkYGUOqlcAk=
SHA256 (Pkgfile) = 00027cecc997e19fdc820b20a6ca7a0b57483c3997ce776b5b95b3a58411a248
RWSagIOpLGJF3348UQcHQSG/k1BmMuwGMbfRjkjGG4UBVlmrLg7qxiRO56Wte2UZqm4W9b/rL8HId3bdDW0YAGsviM8ELmzI2w4=
SHA256 (Pkgfile) = 2a71f7904b18c0c1d57d1f39c549c4ed0511a634acf134b6df9c7c7e12c53132
SHA256 (.footprint) = 66462ad5c2b551d455e2e36ea425846f55a363e089452b4421200e0a1579d841
SHA256 (vkQuake-1.04.1.tar.gz) = aa318b7c543834ac907f6d0657c6560e8974445274083a95131d7350fb871624
SHA256 (vkquake-1.04.1-1.tar.gz) = 48d730802ed0df748f9d1ddcb17b35182505607830f1ec798242516e381d9047
SHA256 (vkquake.desktop) = 022f8eac6de5dd75dc8c6be403fdfda3eaca44e13941c49cd48eeacb1be57385
SHA256 (vkquake.png) = 571ab4f163b31f1f56de2b5b9103cf1b48a4baf4f0ef9514bb4b2da6ba899755

View File

@ -5,20 +5,19 @@
name=vkquake
version=1.04.1
release=1
source=(https://github.com/Novum/vkQuake/archive/$version/vkQuake-$version.tar.gz
vkquake.desktop
vkquake.png)
release=2
source=(#https://github.com/Novum/vkQuake/archive/$version/vkQuake-$version.tar.gz
https://github.com/Novum/vkQuake/archive/77e14cf31cfac6571a3c9d9388435c5c8f394590/$name-$version-1.tar.gz
vkquake.desktop vkquake.png)
build() {
cd vkQuake-$version
make -C Quake clean
make -C Quake \
make -C vkQuake-77e14cf31cfac6571a3c9d9388435c5c8f394590/Quake clean
make -C vkQuake-77e14cf31cfac6571a3c9d9388435c5c8f394590/Quake \
DO_USERDIRS=1
make -C Misc/vq_pak
make -C vkQuake-77e14cf31cfac6571a3c9d9388435c5c8f394590/Misc/vq_pak
install -Dm755 Quake/vkquake $PKG/usr/bin/vkquake
install -Dm644 Misc/vq_pak/vkquake.pak $PKG/usr/share/games/vkquake/vkquake.pak
install -Dm755 vkQuake-77e14cf31cfac6571a3c9d9388435c5c8f394590/Quake/vkquake $PKG/usr/bin/vkquake
install -Dm644 vkQuake-77e14cf31cfac6571a3c9d9388435c5c8f394590/Misc/vq_pak/vkquake.pak $PKG/usr/share/games/vkquake/vkquake.pak
install -Dm644 $SRC/$name.desktop $PKG/usr/share/applications/vkquake.desktop
install -Dm644 $SRC/$name.png $PKG/usr/share/pixmaps/vkquake.png