capitalism: renamed to capicity following upstream, and upgraded to 1.0.

parent d6cbd251
...@@ -3,10 +3,12 @@ ...@@ -3,10 +3,12 @@
# #
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com> # Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=capitalism pkgname=capicity
_pkgname=Capitalism _pkgname=CapiCity
pkgver=0.5.1 _pkgname2="Capi City"
_pkgver=0.5 _projectname=capitalism
pkgver=1.0
_pkgver=${pkgver}
pkgrel=1 pkgrel=1
pkgdesc="Interface to play board games like Monopoly™ online." pkgdesc="Interface to play board games like Monopoly™ online."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
...@@ -15,17 +17,17 @@ screenshot="http://qt-apps.org/CONTENT/content-pre1/113173-1.png" ...@@ -15,17 +17,17 @@ screenshot="http://qt-apps.org/CONTENT/content-pre1/113173-1.png"
license=('GPL2') license=('GPL2')
depends=('qt') depends=('qt')
categories=('games') categories=('games')
source=(http://downloads.sourceforge.net/project/$pkgname/$_pkgname/$_pkgver/$pkgname-$pkgver.tbz) source=("http://downloads.sourceforge.net/project/$_projectname/$_pkgname2/$_pkgver/${_pkgname}_${pkgver}.tar.gz")
md5sums=('f232647ecee3c2bd9ae53822812e2dd2') md5sums=('366bef3eb982bf35c63b8b9cb583ad61')
build() { build() {
cd $srcdir/$_pkgname-$pkgver cd $srcdir/${_pkgname}_${pkgver}
qmake -makefile qmake -makefile
make make
} }
package() { package() {
cd $srcdir/$_pkgname-$pkgver cd $srcdir/${_pkgname}_${pkgver}
# Binary and data. # Binary and data.
install -d $pkgdir/usr/share/$pkgname install -d $pkgdir/usr/share/$pkgname
...@@ -35,7 +37,7 @@ package() { ...@@ -35,7 +37,7 @@ package() {
install -d $pkgdir/usr/bin/ install -d $pkgdir/usr/bin/
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} \$@" >> $pkgdir/usr/bin/$pkgname
chmod +x $pkgdir/usr/bin/$pkgname chmod +x $pkgdir/usr/bin/$pkgname
# Documentation. # Documentation.
......
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