Added Tomatoid 1.0.1

This commit is contained in:
Adrián Chaves Fernández (Gallaecio) 2013-05-27 07:36:05 +02:00
parent 8447c30b2b
commit d3fffb9ccf
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# Original contributor: kei (Kevin)
# Mantainer: Martín Cigorraga Müller <msx (@) archlinux (dot) us>
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
}

View File

@ -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
}