Dust Racing 2D 0.3.2.

parent b61a002b
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com> # Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=dustrac pkgname=dustrac
pkgver=0.3.1 pkgver=0.3.2
pkgrel=1 pkgrel=1
pkgdesc="Dust Racing (Dustrac) is a tile-based, 2D racing game." pkgdesc="Dust Racing (Dustrac) is a tile-based, 2D racing game."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
...@@ -14,7 +14,7 @@ license=('GPL3') ...@@ -14,7 +14,7 @@ license=('GPL3')
depends=(qt) depends=(qt)
makedepends=(cmake) makedepends=(cmake)
source=(http://downloads.sourceforge.net/project/$pkgname/src/$pkgname-$pkgver.tar.gz) source=(http://downloads.sourceforge.net/project/$pkgname/src/$pkgname-$pkgver.tar.gz)
md5sums=('c47c780b77c6df12d516c2443ce53cf1') md5sums=('7c5246f0e3dc362cf8b9ac4cd8d8524e')
build() { build() {
cd $srcdir/$pkgname-$pkgver cd $srcdir/$pkgname-$pkgver
...@@ -30,8 +30,7 @@ package() { ...@@ -30,8 +30,7 @@ package() {
# Manual installation. # Manual installation.
mkdir -p $pkgdir/usr/share/$pkgname mkdir -p $pkgdir/usr/share/$pkgname
rm -R data/images/raw cp -R data $pkgname-game $pkgname-editor $pkgdir/usr/share/$pkgname
cp -R data dustrac editor $pkgdir/usr/share/$pkgname
# Executables: # Executables:
mkdir -p $pkgdir/usr/bin mkdir -p $pkgdir/usr/bin
...@@ -39,13 +38,13 @@ package() { ...@@ -39,13 +38,13 @@ package() {
# Game. # Game.
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
echo "cd /usr/share/$pkgname" >> $pkgdir/usr/bin/$pkgname echo "cd /usr/share/$pkgname" >> $pkgdir/usr/bin/$pkgname
echo "./$pkgname" >> $pkgdir/usr/bin/$pkgname echo "./$pkgname-game" >> $pkgdir/usr/bin/$pkgname
chmod +x $pkgdir/usr/bin/$pkgname chmod +x $pkgdir/usr/bin/$pkgname
# Editor. # Editor.
echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname-editor echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname-editor
echo "cd /usr/share/$pkgname" >> $pkgdir/usr/bin/$pkgname-editor echo "cd /usr/share/$pkgname" >> $pkgdir/usr/bin/$pkgname-editor
echo "./editor" >> $pkgdir/usr/bin/$pkgname-editor echo "./$pkgname-editor" >> $pkgdir/usr/bin/$pkgname-editor
chmod +x $pkgdir/usr/bin/$pkgname-editor chmod +x $pkgdir/usr/bin/$pkgname-editor
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment