From 560562e36a27da267f2f4f7989806790192888ef Mon Sep 17 00:00:00 2001 From: root Date: Mon, 31 Oct 2011 23:14:48 +0000 Subject: Mon Oct 31 23:14:48 UTC 2011 --- staging/libkdeedu/PKGBUILD | 31 +++++++++++++++++++++++++++++++ staging/libkdeedu/libkdeedu.install | 11 +++++++++++ 2 files changed, 42 insertions(+) create mode 100644 staging/libkdeedu/PKGBUILD create mode 100644 staging/libkdeedu/libkdeedu.install (limited to 'staging/libkdeedu') diff --git a/staging/libkdeedu/PKGBUILD b/staging/libkdeedu/PKGBUILD new file mode 100644 index 000000000..5af6fd644 --- /dev/null +++ b/staging/libkdeedu/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 141516 2011-10-31 03:40:21Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=libkdeedu +pkgver=4.7.3 +pkgrel=1 +pkgdesc="Libraries used by KDE Education applications" +url="http://kde.org/" +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/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('d2a1e88c6135fa23cea7670dfbb7c8634dc9c870') + +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 +} diff --git a/staging/libkdeedu/libkdeedu.install b/staging/libkdeedu/libkdeedu.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/staging/libkdeedu/libkdeedu.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf