summaryrefslogtreecommitdiff
path: root/extra/libkdegames/PKGBUILD
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/libkdegames/PKGBUILD
parent7c92c5fcfb5653f63243842299e413672653d1ad (diff)
Sat Feb 9 00:07:22 PST 2013
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
+}