updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / pokerclock / PKGBUILD
blobeef5963178d6b0564f5a9a08d9d30ef97c96f9d5
1 # Maintainer: masutu <masutu dot arch at gmail dot com>
2 # Contributor: PapaNappa <a31bd12e at freenet dot de>
3 # Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
4 pkgname=pokerclock
5 pkgver=1.0.6
6 pkgrel=1
7 pkgdesc="A poker clock"
8 arch=('i686' 'x86_64')
9 license=("GPL")
10 url="http://sourceforge.net/projects/pokerclock/"
11 depends=('kdebase-runtime')
12 makedepends=('cmake' 'automoc4')
13 source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz"
14                                 "pokerclock_patch.diff")
15 md5sums=('f69aa9416c735b83ae4106b62245d998'
16          'db3d62608dd5364fe4bb7ab0702e027d')
18 build() {
19   cd $srcdir/$pkgname/
20   mv src/sounds/event.wav src/sounds/pokerclock-event.wav
21   patch -uNp1 -i ../../pokerclock_patch.diff
22   cd build
23   cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
24   make
27 package() {
28   cd $srcdir/$pkgname/build
29   make DESTDIR=$pkgdir install
32 # vim:set ts=2 sw=2 et: