summaryrefslogtreecommitdiff
path: root/extra/libkmahjongg
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libkmahjongg')
-rw-r--r--extra/libkmahjongg/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/libkmahjongg/PKGBUILD b/extra/libkmahjongg/PKGBUILD
new file mode 100644
index 000000000..b1d04e85c
--- /dev/null
+++ b/extra/libkmahjongg/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 177654 2013-02-08 08:56:12Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=libkmahjongg
+pkgver=4.10.0
+pkgrel=1
+pkgdesc="Common code, backgrounds and tile sets for games using Mahjongg tiles"
+url="https://projects.kde.org/projects/kde/kdegames/libmahjongg"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('libkdegames')
+makedepends=('cmake' 'automoc4')
+replaces=('kdegames-libkmahjongg')
+conflicts=('kdegames-libkmahjongg')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('594edd2bb1a5f3981a6361db94da84da6b35d818')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}