Date: Monday, March 23, 2015 @ 21:18:36 Author: arojas Revision: 234578
ktimer is ported to KF5 Added: ktimer/ ktimer/kde-unstable/ ktimer/kde-unstable/PKGBUILD ktimer/kde-unstable/ktimer.install Deleted: kdeutils-ktimer/kde-unstable/ kdeutils-ktimer/repos/kde-unstable-i686/ kdeutils-ktimer/repos/kde-unstable-x86_64/ ----------------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ ktimer.install | 11 +++++++++++ 2 files changed, 46 insertions(+) Added: ktimer/kde-unstable/PKGBUILD =================================================================== --- ktimer/kde-unstable/PKGBUILD (rev 0) +++ ktimer/kde-unstable/PKGBUILD 2015-03-23 20:18:36 UTC (rev 234578) @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 234253 2015-03-20 20:09:44Z arojas $ +# Maintainer: Felix Yan <[email protected]> +# Contributor: Andrea Scarpino <[email protected]> + +pkgname=ktimer +pkgver=15.03.95 +pkgrel=1 +pkgdesc='Countdown Launcher' +url='http://kde.org/applications/utilities/ktimer/' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +depends=('kio' 'hicolor-icon-theme') +makedepends=('extra-cmake-modules' 'kdoctools' 'python') +conflicts=('kdeutils-ktimer') +replaces=('kdeutils-ktimer') +groups=('kde-applications' 'kdeutils') +install=${pkgname}.install +source=("http://download.kde.org/unstable/applications/${pkgver}/src/ktimer-${pkgver}.tar.xz") +sha1sums=('0f32321ab0562059b4174c1adf0df4e6c7dcbd50') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../ktimer-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install +} Added: ktimer/kde-unstable/ktimer.install =================================================================== --- ktimer/kde-unstable/ktimer.install (rev 0) +++ ktimer/kde-unstable/ktimer.install 2015-03-23 20:18:36 UTC (rev 234578) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
