diff options
author | root <root@rshg054.dnsready.net> | 2013-04-01 00:05:25 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-01 00:05:25 -0700 |
commit | c623429f33c434cb1cb11974d9e71f48dd5a881f (patch) | |
tree | a5ef4b20d134eb0384a567b98ea41733f2db73c7 /community/stuntrally | |
parent | bccd6b361bd252b2d32bc9a793c9e1b8448bfcd9 (diff) |
Mon Apr 1 00:05:25 PDT 2013
Diffstat (limited to 'community/stuntrally')
-rw-r--r-- | community/stuntrally/PKGBUILD | 25 | ||||
-rw-r--r-- | community/stuntrally/stuntrally.install | 8 |
2 files changed, 18 insertions, 15 deletions
diff --git a/community/stuntrally/PKGBUILD b/community/stuntrally/PKGBUILD index 1cc321145..168bbc623 100644 --- a/community/stuntrally/PKGBUILD +++ b/community/stuntrally/PKGBUILD @@ -1,34 +1,35 @@ +# $Id$ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Sven Schneider <archlinux.sandmann@googlemail.com> # Contributor: Jason Melton <jason.melton@gmail.com> pkgname=stuntrally pkgver=1.9 -pkgrel=2 -pkgdesc="Stunt Rally game with track editor, based on VDrift" -arch=('i686' 'x86_64') +pkgrel=3 +pkgdesc='Stunt Rally game with track editor, based on VDrift' +arch=('x86_64' 'i686') license=('GPL3') -url="http://code.google.com/p/vdrift-ogre" +url='http://code.google.com/p/vdrift-ogre' depends=('libvorbis' 'mygui' 'sdl' 'enet' 'hicolor-icon-theme' 'libxcursor' 'stuntrally-data') makedepends=('cmake' 'boost') install=stuntrally.install -source=(src_${pkgver}.tar.gz::https://nodeload.github.com/${pkgname}/stuntrally/tar.gz/${pkgver}) -md5sums=('3253c5a64a6d3f4fc4b756ea431286de') +source=("$pkgname-$pkgver.tar.gz::https://nodeload.github.com/$pkgname/$pkgname/tar.gz/$pkgver") +sha256sums=('651d10aa00cf73b275198f08b0360a34ff98e6b520013041863854babeb20da7') build() { - cd "${srcdir}/stuntrally-${pkgver}/" + cd "$srcdir/stuntrally-$pkgver/" rm -rf build mkdir build && cd build - cmake -DCMAKE_INSTALL_PREFIX="/usr" -DSHARE_INSTALL="share/stuntrally" .. make } package() { - cd "${srcdir}/stuntrally-${pkgver}/build/" - - make DESTDIR="${pkgdir}" install + cd "$srcdir/stuntrally-$pkgver/build/" - rm -rf "${pkgdir}/usr/share/stuntrally/" + make DESTDIR="$pkgdir" install + rm -rf "$pkgdir/usr/share/stuntrally/" } + +# vim:set ts=2 sw=2 et: diff --git a/community/stuntrally/stuntrally.install b/community/stuntrally/stuntrally.install index 547348418..3a13ff305 100644 --- a/community/stuntrally/stuntrally.install +++ b/community/stuntrally/stuntrally.install @@ -1,11 +1,13 @@ post_install() { - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor } post_upgrade() { - post_install + post_install } post_remove() { - post_install + post_install } + +# vim:set ts=2 sw=2 et: |