updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / kastling / PKGBUILD
blobc057f256f4d3f482c2d7ff71f9a060e864db1b21
1 pkgname=kastling
2 pkgver=0.9.5
3 pkgrel=1
4 pkgdesc="Free chess interface written in Qt. It supports playing on 
5 Fics."
6 arch=('i686' 'x86_64')
7 url="http://sourceforge.net/projects/kastling/"
8 license=('GPL3')
9 depends=('qt')
10 source=("http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver-src.tar.gz" "kastling.desktop")
11 md5sums=('81a7dc7b9dc81984c0d97de74022c401' 'a5255b7d726fd616d37e179c974cf24b')
12 build() {
13   cd $srcdir/$pkgname-$pkgver-src
15 # Compile
16   qmake
17   make
19   # Install
20   mkdir -p $pkgdir/usr/share/$pkgname
21   cp -R themes/ kastling  $pkgdir/usr/share/$pkgname
22   install -D -m 755 $startdir/kastling $pkgdir/usr/bin/kastling
23   install -D -m 644 $startdir/$pkgname.desktop $pkgdir$installdir/games/$pkgname.desktop