summaryrefslogtreecommitdiff
path: root/kde-unstable/libkdeedu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'kde-unstable/libkdeedu/PKGBUILD')
-rw-r--r--kde-unstable/libkdeedu/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/kde-unstable/libkdeedu/PKGBUILD b/kde-unstable/libkdeedu/PKGBUILD
new file mode 100644
index 000000000..f6114daec
--- /dev/null
+++ b/kde-unstable/libkdeedu/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 160097 2012-05-29 22:29:42Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=libkdeedu
+pkgver=4.8.80
+pkgrel=1
+pkgdesc="Libraries used by KDE Education applications"
+url="https://projects.kde.org/projects/kde/kdeedu/libkdeedu"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+replaces=('kdeedu-libkdeedu' 'kdeedu-data')
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('d260aa9679ed0d9a7711b4e9311d4c8cb7e9c17d')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}