summaryrefslogtreecommitdiff
path: root/community/xskat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xskat/PKGBUILD')
-rw-r--r--community/xskat/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/xskat/PKGBUILD b/community/xskat/PKGBUILD
new file mode 100644
index 000000000..af88fc66e
--- /dev/null
+++ b/community/xskat/PKGBUILD
@@ -0,0 +1,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')
+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
+}