diff options
Diffstat (limited to 'extra/kdetoys-kteatime')
-rw-r--r-- | extra/kdetoys-kteatime/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/kdetoys-kteatime/kdetoys-kteatime.install | 11 |
2 files changed, 42 insertions, 0 deletions
diff --git a/extra/kdetoys-kteatime/PKGBUILD b/extra/kdetoys-kteatime/PKGBUILD new file mode 100644 index 000000000..d1f06d93a --- /dev/null +++ b/extra/kdetoys-kteatime/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdetoys-kteatime +pkgver=4.11.0 +pkgrel=1 +pkgdesc='Tea Cooker' +url='http://kde.org/applications/games/kteatime/' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdetoys') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kteatime-${pkgver}.tar.xz") +sha1sums=('e3cccbe39e819e309a0ee6ddf5ccb1130aaa06c3') + +build() { + mkdir build + cd build + cmake ../kteatime-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR=$pkgdir install +} diff --git a/extra/kdetoys-kteatime/kdetoys-kteatime.install b/extra/kdetoys-kteatime/kdetoys-kteatime.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/kdetoys-kteatime/kdetoys-kteatime.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |