mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
Added Tomatoid 1.0.1
This commit is contained in:
parent
8447c30b2b
commit
d3fffb9ccf
29
kdeplasma-applets-tomatoid/PKGBUILD
Normal file
29
kdeplasma-applets-tomatoid/PKGBUILD
Normal 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
|
||||
}
|
15
kdeplasma-applets-tomatoid/install.sh
Normal file
15
kdeplasma-applets-tomatoid/install.sh
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user