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-parley/PKGBUILD | 31 ++++++++++++++++++++++++ kde-unstable/kdeedu-parley/kdeedu-parley.install | 12 +++++++++ 2 files changed, 43 insertions(+) create mode 100644 kde-unstable/kdeedu-parley/PKGBUILD create mode 100644 kde-unstable/kdeedu-parley/kdeedu-parley.install (limited to 'kde-unstable/kdeedu-parley') diff --git a/kde-unstable/kdeedu-parley/PKGBUILD b/kde-unstable/kdeedu-parley/PKGBUILD new file mode 100644 index 000000000..6a442172b --- /dev/null +++ b/kde-unstable/kdeedu-parley/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 160132 2012-05-29 22:51:20Z andrea $ +# Maintainer: Andrea Scarpino + +pkgname=kdeedu-parley +pkgver=4.8.80 +pkgrel=1 +pkgdesc="Vocabulary Trainer" +url="http://kde.org/applications/education/parley/" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdeedu') +depends=('kdebase-runtime' 'libkdeedu') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/unstable/${pkgver}/src/parley-${pkgver}.tar.xz") +sha1sums=('0ea1f3fbe0ab321d347e0d961c0bc335b8babf63') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../parley-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} diff --git a/kde-unstable/kdeedu-parley/kdeedu-parley.install b/kde-unstable/kdeedu-parley/kdeedu-parley.install new file mode 100644 index 000000000..81ce5c4b0 --- /dev/null +++ b/kde-unstable/kdeedu-parley/kdeedu-parley.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf