[arch-commits] Commit in supertuxkart/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 30 10:45:19 UTC 2019
Date: Sunday, June 30, 2019 @ 10:45:18
Author: felixonmars
Revision: 486259
archrelease: copy trunk to community-staging-x86_64
Added:
supertuxkart/repos/community-staging-x86_64/
supertuxkart/repos/community-staging-x86_64/PKGBUILD
(from rev 486258, supertuxkart/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: supertuxkart/repos/community-staging-x86_64/PKGBUILD (from rev 486258, supertuxkart/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-06-30 10:45:18 UTC (rev 486259)
@@ -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=5
+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' 'wayland')
+makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf' 'mesa-libgl' 'libxkbcommon')
+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