summaryrefslogtreecommitdiff
path: root/extra/libkmahjongg
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-09 00:07:22 -0800
committerroot <root@rshg054.dnsready.net>2013-02-09 00:07:22 -0800
commite9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (patch)
tree64f1532d7e6e652c2ea5a0bb5efd7ea36f431535 /extra/libkmahjongg
parent7c92c5fcfb5653f63243842299e413672653d1ad (diff)
Sat Feb 9 00:07:22 PST 2013
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
+}