Date: Thursday, October 17, 2013 @ 13:38:17 Author: svenstaro Revision: 98716
archrelease: copy trunk to community-i686, community-x86_64 Added: supertuxkart/repos/community-i686/PKGBUILD (from rev 98715, supertuxkart/trunk/PKGBUILD) supertuxkart/repos/community-i686/supertuxkart.install (from rev 98715, supertuxkart/trunk/supertuxkart.install) supertuxkart/repos/community-x86_64/PKGBUILD (from rev 98715, supertuxkart/trunk/PKGBUILD) supertuxkart/repos/community-x86_64/supertuxkart.install (from rev 98715, supertuxkart/trunk/supertuxkart.install) Deleted: supertuxkart/repos/community-i686/PKGBUILD supertuxkart/repos/community-x86_64/PKGBUILD ---------------------------------------+ /PKGBUILD | 106 ++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 56 ---------------- community-i686/supertuxkart.install | 12 +++ community-x86_64/PKGBUILD | 56 ---------------- community-x86_64/supertuxkart.install | 12 +++ 5 files changed, 130 insertions(+), 112 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-10-17 11:38:10 UTC (rev 98715) +++ community-i686/PKGBUILD 2013-10-17 11:38:17 UTC (rev 98716) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com> -# Contributor: Allan McRae <al...@archlinux.org> -# Contributor: rabyte <rabyte__gmail> - -pkgname=supertuxkart -pkgver=0.8 -pkgrel=3 -pkgdesc='Kart racing game featuring Tux and his friends' -arch=('i686' 'x86_64') -url='http://supertuxkart.sourceforge.net/' -license=('GPL2') -depends=('openal' 'libvorbis' 'libgl' 'fribidi' 'curl') -makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf') -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2") -md5sums=('0b939ce601374758938119e0b0dd1fec') - -build() { - cd ${srcdir}/SuperTuxKart-${pkgver} - - convert "data/${pkgname}_64.xpm" "data/$pkgname.png" - _fn="data/${pkgname}_desktop.template" - setconf "$_fn" Exec "$pkgname --log=file" - setconf "$_fn" TryExec "$pkgname" - setconf "$_fn" Icon "$pkgname" - - cd lib/irrlicht/source/Irrlicht - NDEBUG=1 make - - cd ${srcdir}/SuperTuxKart-${pkgver} - #sed -i "s|share/games|share|g" CMakeLists.txt - - [[ -d build ]] && rm -r build - mkdir build && cd build - - cmake \ - -DIRRLICHT_DIR="$srcdir/irrlicht" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl" \ - .. - - make -} - -package() { - cd ${srcdir}/SuperTuxKart-${pkgver} - - cd build - make DESTDIR=${pkgdir} install - - cd ../data - install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" -} - -# vim:set ts=2 sw=2 et: Copied: supertuxkart/repos/community-i686/PKGBUILD (from rev 98715, supertuxkart/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-10-17 11:38:17 UTC (rev 98716) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: rabyte <rabyte__gmail> + +pkgname=supertuxkart +pkgver=0.8 +pkgrel=4 +pkgdesc='Kart racing game featuring Tux and his friends' +arch=('i686' 'x86_64') +url='http://supertuxkart.sourceforge.net/' +license=('GPL2') +depends=('openal' 'libvorbis' 'libgl' 'fribidi' 'curl') +makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2") +install=supertuxkart.install +md5sums=('0b939ce601374758938119e0b0dd1fec') + +build() { + cd ${srcdir}/SuperTuxKart-${pkgver} + + _fn="data/${pkgname}_desktop.template" + setconf "$_fn" Exec "$pkgname --log=file" + setconf "$_fn" TryExec "$pkgname" + setconf "$_fn" Icon "$pkgname"_64 + + cd lib/irrlicht/source/Irrlicht + NDEBUG=1 make + + cd ${srcdir}/SuperTuxKart-${pkgver} + #sed -i "s|share/games|share|g" CMakeLists.txt + + [[ -d build ]] && rm -r build + mkdir build && cd build + + cmake \ + -DIRRLICHT_DIR="$srcdir/irrlicht" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl" \ + .. + + make +} + +package() { + cd ${srcdir}/SuperTuxKart-${pkgver} + + cd build + make DESTDIR=${pkgdir} install +} + +# vim:set ts=2 sw=2 et: Copied: supertuxkart/repos/community-i686/supertuxkart.install (from rev 98715, supertuxkart/trunk/supertuxkart.install) =================================================================== --- community-i686/supertuxkart.install (rev 0) +++ community-i686/supertuxkart.install 2013-10-17 11:38:17 UTC (rev 98716) @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-10-17 11:38:10 UTC (rev 98715) +++ community-x86_64/PKGBUILD 2013-10-17 11:38:17 UTC (rev 98716) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com> -# Contributor: Allan McRae <al...@archlinux.org> -# Contributor: rabyte <rabyte__gmail> - -pkgname=supertuxkart -pkgver=0.8 -pkgrel=3 -pkgdesc='Kart racing game featuring Tux and his friends' -arch=('i686' 'x86_64') -url='http://supertuxkart.sourceforge.net/' -license=('GPL2') -depends=('openal' 'libvorbis' 'libgl' 'fribidi' 'curl') -makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf') -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2") -md5sums=('0b939ce601374758938119e0b0dd1fec') - -build() { - cd ${srcdir}/SuperTuxKart-${pkgver} - - convert "data/${pkgname}_64.xpm" "data/$pkgname.png" - _fn="data/${pkgname}_desktop.template" - setconf "$_fn" Exec "$pkgname --log=file" - setconf "$_fn" TryExec "$pkgname" - setconf "$_fn" Icon "$pkgname" - - cd lib/irrlicht/source/Irrlicht - NDEBUG=1 make - - cd ${srcdir}/SuperTuxKart-${pkgver} - #sed -i "s|share/games|share|g" CMakeLists.txt - - [[ -d build ]] && rm -r build - mkdir build && cd build - - cmake \ - -DIRRLICHT_DIR="$srcdir/irrlicht" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl" \ - .. - - make -} - -package() { - cd ${srcdir}/SuperTuxKart-${pkgver} - - cd build - make DESTDIR=${pkgdir} install - - cd ../data - install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png" -} - -# vim:set ts=2 sw=2 et: Copied: supertuxkart/repos/community-x86_64/PKGBUILD (from rev 98715, supertuxkart/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-10-17 11:38:17 UTC (rev 98716) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Daenyth <Daenyth+Arch [AT] gmail [DOT] com> +# Contributor: Allan McRae <al...@archlinux.org> +# Contributor: rabyte <rabyte__gmail> + +pkgname=supertuxkart +pkgver=0.8 +pkgrel=4 +pkgdesc='Kart racing game featuring Tux and his friends' +arch=('i686' 'x86_64') +url='http://supertuxkart.sourceforge.net/' +license=('GPL2') +depends=('openal' 'libvorbis' 'libgl' 'fribidi' 'curl') +makedepends=('cmake' 'subversion' 'mesa' 'imagemagick' 'setconf') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2") +install=supertuxkart.install +md5sums=('0b939ce601374758938119e0b0dd1fec') + +build() { + cd ${srcdir}/SuperTuxKart-${pkgver} + + _fn="data/${pkgname}_desktop.template" + setconf "$_fn" Exec "$pkgname --log=file" + setconf "$_fn" TryExec "$pkgname" + setconf "$_fn" Icon "$pkgname"_64 + + cd lib/irrlicht/source/Irrlicht + NDEBUG=1 make + + cd ${srcdir}/SuperTuxKart-${pkgver} + #sed -i "s|share/games|share|g" CMakeLists.txt + + [[ -d build ]] && rm -r build + mkdir build && cd build + + cmake \ + -DIRRLICHT_DIR="$srcdir/irrlicht" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl" \ + .. + + 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/supertuxkart.install (from rev 98715, supertuxkart/trunk/supertuxkart.install) =================================================================== --- community-x86_64/supertuxkart.install (rev 0) +++ community-x86_64/supertuxkart.install 2013-10-17 11:38:17 UTC (rev 98716) @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +}