From d3fffb9ccf5a95ba2afcfc7cb9ff123de897d672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves=20Fern=C3=A1ndez=20=28Gallaecio=29?= Date: Mon, 27 May 2013 07:36:05 +0200 Subject: [PATCH] Added Tomatoid 1.0.1 --- kdeplasma-applets-tomatoid/PKGBUILD | 29 +++++++++++++++++++++++++++ kdeplasma-applets-tomatoid/install.sh | 15 ++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 kdeplasma-applets-tomatoid/PKGBUILD create mode 100644 kdeplasma-applets-tomatoid/install.sh diff --git a/kdeplasma-applets-tomatoid/PKGBUILD b/kdeplasma-applets-tomatoid/PKGBUILD new file mode 100644 index 000000000..476272592 --- /dev/null +++ b/kdeplasma-applets-tomatoid/PKGBUILD @@ -0,0 +1,29 @@ +# Original contributor: kei (Kevin) +# Mantainer: Martín Cigorraga Müller + + +pkgname=kdeplasma-applets-tomatoid +_pkgname=Tomatoid +pkgver=1.0.1 +pkgrel=1 +pkgdesc="A Pomodoro plasmoid made in QML." +arch=('i686' 'x86_64') +url='https://github.com/arthurtaborda/Tomatoid' +screenshot='http://i.imgur.com/lgtynZB.png' +license=('GPL') +depends=('kde-workspace' 'qt-mobility') +makedepends=('cmake' 'automoc4') +conflicts=('kdeplasma-applets-tomatoid-git') +install=install.sh +source=("https://github.com/arthurtaborda/Tomatoid/archive/v${pkgver}.tar.gz") +md5sums=('3634e7e6f28e14fb0bcae99069f9d221') + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + installFolder="${pkgdir}/usr/share/apps/plasma/plasmoids/tomatoid" + mkdir -p ${installFolder} + cp -r contents "${installFolder}"/contents + install -Dm644 metadata.desktop \ + "${pkgdir}"/usr/share/kde4/services/plasma-applet-tomatoid.desktop +} diff --git a/kdeplasma-applets-tomatoid/install.sh b/kdeplasma-applets-tomatoid/install.sh new file mode 100644 index 000000000..61d594590 --- /dev/null +++ b/kdeplasma-applets-tomatoid/install.sh @@ -0,0 +1,15 @@ +## arg 1: the new package version +post_install() { + update-desktop-database -q +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + update-desktop-database -q +} + +## arg 1: the old package version +post_remove() { + update-desktop-database -q +}