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

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Apr 25 12:12:55 UTC 2019


    Date: Thursday, April 25, 2019 @ 12:12:54
  Author: svenstaro
Revision: 453791

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   95 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-25 12:12:41 UTC (rev 453790)
+++ PKGBUILD	2019-04-25 12:12:54 UTC (rev 453791)
@@ -1,47 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: rabyte <rabyte__gmail>
-
-pkgname=supertuxkart
-pkgver=1.0
-pkgrel=1
-pkgdesc='Kart racing game featuring Tux and his friends'
-arch=('x86_64')
-url='http://supertuxkart.sourceforge.net/'
-license=('GPL2')
-depends=('openal' 'libvorbis' 'fribidi' 'curl' 'bluez-libs' 'libxrandr' 'glu')
-makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf' 'mesa-libgl')
-source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tar.xz")
-sha512sums=('182754610abd09545630fa1f7fda858ba1731bbacb078bc71597e143f9cb2a1cfcedd3038720760d0471a89b79cc3bb1eb292d38fcd53be05aad7cb17c474ca9')
-
-build() {
-  cd ${srcdir}/supertuxkart-${pkgver}
-
-  _fn="data/${pkgname}.desktop"
-  setconf "$_fn" Exec "$pkgname"
-  setconf "$_fn" TryExec "$pkgname"
-  setconf "$_fn" Icon "$pkgname"
-
-  [[ -d build ]] && rm -r build
-  mkdir build && cd build
-
-  cmake .. \
-    -DIRRLICHT_DIR="$srcdir/irrlicht" \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DBUILD_RECORDER=0 \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl $CXXFLAGS -std=gnu++98"
-
-  make
-}
-
-package() {
-  cd ${srcdir}/supertuxkart-${pkgver}
-
-  cd build
-  make DESTDIR=${pkgdir} install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: supertuxkart/repos/community-x86_64/PKGBUILD (from rev 453790, supertuxkart/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-25 12:12:54 UTC (rev 453791)
@@ -0,0 +1,48 @@
+# 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.0
+pkgrel=2
+pkgdesc='Kart racing game featuring Tux and his friends'
+arch=('x86_64')
+url='http://supertuxkart.sourceforge.net/'
+license=('GPL2')
+depends=('openal' 'libvorbis' 'fribidi' 'curl' 'bluez-libs' 'libxrandr' 'glu')
+makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf' 'mesa-libgl')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-src.tar.xz")
+sha512sums=('182754610abd09545630fa1f7fda858ba1731bbacb078bc71597e143f9cb2a1cfcedd3038720760d0471a89b79cc3bb1eb292d38fcd53be05aad7cb17c474ca9')
+
+build() {
+  cd ${srcdir}/supertuxkart-${pkgver}
+
+  _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}
+
+  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:



More information about the arch-commits mailing list