Commit 77ba026a authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] supertuxkart: update to 1.1

parent 685b0055
Pipeline #5397 skipped
pkgname=supertuxkart
pkgver=1.0
pkgver=1.1
pkgrel=2
pkgdesc="Kart racing game featuring Tux and friends."
url="http://supertuxkart.sourceforge.net/"
arch=('x86_64')
license=('GPL3' 'GPL2' 'CCPL-by' 'CCPL-by-sa' 'custom:Public Domain')
depends=('bzip2' 'curl' 'enet' 'fribidi' 'freeglut' 'libgl' 'libjpeg' 'libogg' 'libopenglrecorder'
'libpng' 'libvorbis' 'openal' 'wiiuse' 'bluez-libs' 'glu' 'xorg-xrandr')
makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf' 'wayland')
depends=('openal' 'libvorbis' 'fribidi' 'curl' 'bluez-libs' 'libxrandr' 'glu' 'wayland')
makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf' 'mesa-libgl' 'libxkbcommon')
conflicts=('supertuxkart-svn')
categories=('games')
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tar.xz")
sha1sums=('cd270c851c5b15fb69c6e78e9824d87187c1f801')
sha1sums=('68be26f4b15d30dede26563cbcc6de999036c5e0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${srcdir}/${pkgname}-${pkgver}-src"
_fn="data/${pkgname}.desktop"
setconf "$_fn" Exec "$pkgname"
......@@ -24,17 +22,21 @@ build() {
[[ -d build ]] && rm -r build
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-lpthread -lm -ldl $CXXFLAGS -std=gnu++98" \
-DUSE_SYSTEM_WIIUSE=ON \
..
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_RECORDER=0
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
cd "${srcdir}/${pkgname}-${pkgver}-src/build"
make DESTDIR="${pkgdir}" install
# Why is this even in here?
rm -r "$pkgdir"/usr/lib
rm -r "$pkgdir"/usr/include
}
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