summaryrefslogtreecommitdiff
path: root/community/xskat/PKGBUILD
blob: 119f8d5b64fda285d944707b83954f84cd3f9769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 36462 2009-04-23 02:18:44Z eric $
# Contributor: arjan <arjan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=xskat
pkgver=4.0
pkgrel=4
pkgdesc="The card game Skat as defined by the official Skat Order"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.xskat.de/xskat.html"
license=('custom')
depends=('libx11')
makedepends=('imake')
source=(http://www.xskat.de/$pkgname-$pkgver.tar.gz xskat.desktop xskat.png)
md5sums=('6744cea48a890771736b75083e7ea2b5'
         'd188d7db99e76e38ce4567bff0def99e'
         '79770f35f6d811c73919d521ec5fa7b0')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
}
package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir MANPATH=/usr/share/man install install.man
  install -Dm644 $srcdir/$pkgname-$pkgver/README \
    $pkgdir/usr/share/licenses/$pkgname/LICENSE
  install -Dm644 $srcdir/$pkgname.desktop \
    $pkgdir/usr/share/applications/$pkgname.desktop
  install -Dm644 $srcdir/$pkgname.png \
    $pkgdir/usr/share/icons/$pkgname.png 
}