summaryrefslogtreecommitdiff
path: root/extra/libkdegames/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libkdegames/PKGBUILD')
-rw-r--r--extra/libkdegames/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/libkdegames/PKGBUILD b/extra/libkdegames/PKGBUILD
new file mode 100644
index 000000000..8b51f7436
--- /dev/null
+++ b/extra/libkdegames/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 177653 2013-02-08 08:56:12Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=libkdegames
+pkgver=4.10.0
+pkgrel=1
+pkgdesc="Common code and data for many KDE games"
+url="https://projects.kde.org/projects/kde/kdegames/libkdegames"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs' 'openal')
+makedepends=('cmake' 'automoc4')
+replaces=('kdegames-libkdegames')
+conflicts=('kdegames-libkdegames')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('6488769e87fe357c8b228c7d4e96ed6726955c9d')
+
+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
+}