From f1ae949e08a764ac063703dc9bb7f0afd7c16e96 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 31 May 2012 00:03:48 +0000 Subject: Thu May 31 00:03:48 UTC 2012 --- kde-unstable/kdeedu-kiten/PKGBUILD | 31 ++++++++++++++++++++++++++ kde-unstable/kdeedu-kiten/kdeedu-kiten.install | 11 +++++++++ 2 files changed, 42 insertions(+) create mode 100644 kde-unstable/kdeedu-kiten/PKGBUILD create mode 100644 kde-unstable/kdeedu-kiten/kdeedu-kiten.install (limited to 'kde-unstable/kdeedu-kiten') diff --git a/kde-unstable/kdeedu-kiten/PKGBUILD b/kde-unstable/kdeedu-kiten/PKGBUILD new file mode 100644 index 000000000..d03a6e4f9 --- /dev/null +++ b/kde-unstable/kdeedu-kiten/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 160124 2012-05-29 22:46:56Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kdeedu-kiten +pkgver=4.8.80 +pkgrel=1 +pkgdesc="Japanese Reference/Study Tool" +url="http://kde.org/applications/education/kiten/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdeedu') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/unstable/${pkgver}/src/kiten-${pkgver}.tar.xz") +sha1sums=('04502f5b20493ec396c31e844ceba4aff09d6b30') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../kiten-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/kde-unstable/kdeedu-kiten/kdeedu-kiten.install b/kde-unstable/kdeedu-kiten/kdeedu-kiten.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/kde-unstable/kdeedu-kiten/kdeedu-kiten.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