[arch-commits] Commit in supertuxkart/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Aug 28 20:57:22 UTC 2020


    Date: Friday, August 28, 2020 @ 20:57:21
  Author: svenstaro
Revision: 691291

archrelease: copy trunk to community-x86_64

Added:
  supertuxkart/repos/community-x86_64/PKGBUILD
    (from rev 691290, supertuxkart/trunk/PKGBUILD)
Deleted:
  supertuxkart/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   99 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 20:57:12 UTC (rev 691290)
+++ PKGBUILD	2020-08-28 20:57:21 UTC (rev 691291)
@@ -1,50 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: rabyte <rabyte__gmail>
-
-pkgname=supertuxkart
-pkgver=1.1
-pkgrel=2
-pkgdesc='Kart racing game featuring Tux and his friends'
-arch=('x86_64')
-url='https://supertuxkart.net'
-license=('GPL3')
-depends=('openal' 'libvorbis' 'fribidi' 'curl' 'bluez-libs' 'libxrandr' 'glu'
-         'wayland' 'libxkbcommon-x11' 'sqlite' 'libjpeg-turbo' 'libraqm'
-         'hicolor-icon-theme')
-makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf' 'mesa-libgl')
-source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tar.xz")
-sha512sums=('81d5ff59bb33eba8a00547239d54cacfde25eed0c56c857712a00a62032e4cf371cdd367159eaa4bfec6d4dd5781b705e41b58a26b864aa43678cfe9926bb804')
-
-build() {
-  cd ${srcdir}/supertuxkart-${pkgver}-src
-
-  _fn="data/${pkgname}.desktop"
-  setconf "$_fn" Exec "$pkgname"
-  setconf "$_fn" TryExec "$pkgname"
-  setconf "$_fn" Icon "$pkgname"
-
-  mkdir build && cd build
-
-  cmake .. \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DBUILD_RECORDER=0
-
-  make
-}
-
-package() {
-  cd "$srcdir"/supertuxkart-${pkgver}-src
-
-  cd build
-  make DESTDIR="$pkgdir" install
-
-  # Why is this even in here?
-  rm -r "$pkgdir"/usr/lib
-  rm -r "$pkgdir"/usr/include
-}
-
-# vim:set ts=2 sw=2 et:

Copied: supertuxkart/repos/community-x86_64/PKGBUILD (from rev 691290, supertuxkart/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-28 20:57:21 UTC (rev 691291)
@@ -0,0 +1,49 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: rabyte <rabyte__gmail>
+
+pkgname=supertuxkart
+pkgver=1.2
+pkgrel=1
+pkgdesc='Kart racing game featuring Tux and his friends'
+arch=('x86_64')
+url='https://supertuxkart.net'
+license=('GPL3')
+depends=('openal' 'libvorbis' 'fribidi' 'curl' 'bluez-libs' 'libxrandr' 'glu'
+         'wayland' 'libxkbcommon-x11' 'sqlite' 'libjpeg-turbo' 'libraqm'
+         'hicolor-icon-theme' 'sdl2')
+makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf' 'mesa-libgl' 'ninja')
+source=("https://github.com/supertuxkart/stk-code/releases/download/${pkgver}/SuperTuxKart-${pkgver}-src.tar.xz")
+sha512sums=('bc7079af9b3d85b3e4839ebb3eee293fb8bfe95450165172caa28b8ad1a9e97c59618d77c2208a86090f1840aa9a4b4b6898c1053fa6f5d7dfbfe17b69536835')
+
+build() {
+  cd "$srcdir"/SuperTuxKart-${pkgver}-src
+
+  _fn="data/${pkgname}.desktop"
+  setconf "$_fn" Exec "$pkgname"
+  setconf "$_fn" TryExec "$pkgname"
+  setconf "$_fn" Icon "$pkgname"
+
+  cmake . \
+    -Bbuild \
+    -GNinja \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_RECORDER=0
+
+  ninja -C build
+}
+
+package() {
+  cd "$srcdir"/SuperTuxKart-${pkgver}-src
+
+  DESTDIR="$pkgdir" ninja -C build install
+
+  # Why is this even in here?
+  rm -r "$pkgdir"/usr/lib
+  rm -r "$pkgdir"/usr/include
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list