summaryrefslogtreecommitdiff
path: root/extra/kdegames-kmahjongg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdegames-kmahjongg/PKGBUILD')
-rw-r--r--extra/kdegames-kmahjongg/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/kdegames-kmahjongg/PKGBUILD b/extra/kdegames-kmahjongg/PKGBUILD
new file mode 100644
index 000000000..6b7279012
--- /dev/null
+++ b/extra/kdegames-kmahjongg/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 177706 2013-02-08 08:57:23Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdegames-kmahjongg
+pkgver=4.10.0
+pkgrel=1
+pkgdesc="A tile matching game for one or two players"
+url="http://kde.org/applications/games/kmahjongg/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegames')
+depends=('kdebase-runtime' 'libkmahjongg' 'libkdegames')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kmahjongg-${pkgver}.tar.xz")
+sha1sums=('9a2532fac72ccac404379e02c2a5d0e649fc04fe')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kmahjongg-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}