2013-05-27 13:36:05 +08:00
|
|
|
# Original contributor: kei (Kevin)
|
|
|
|
# Mantainer: Martín Cigorraga Müller <msx (@) archlinux (dot) us>
|
|
|
|
|
|
|
|
pkgname=kdeplasma-applets-tomatoid
|
|
|
|
_pkgname=Tomatoid
|
2014-11-25 17:22:15 +08:00
|
|
|
pkgver=1.2
|
|
|
|
pkgrel=1
|
2013-05-27 13:36:05 +08:00
|
|
|
pkgdesc="A Pomodoro plasmoid made in QML."
|
2014-11-25 17:22:15 +08:00
|
|
|
arch=('x86_64')
|
2013-05-27 13:36:05 +08:00
|
|
|
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
|
2014-11-25 17:22:15 +08:00
|
|
|
source=("https://github.com/arthurtaborda/Tomatoid/archive/$pkgver.tar.gz")
|
|
|
|
md5sums=('f421080c74455d52c3d5fa2bab2c4d4d')
|
2013-05-27 13:36:05 +08:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
|
|
|
2013-06-12 12:00:04 +08:00
|
|
|
install_folder="${pkgdir}/usr/share/apps/plasma/plasmoids/tomatoid/"
|
|
|
|
install -d "${install_folder}"/contents/{code,config,data,images,locale,ui}
|
|
|
|
install -m644 metadata.desktop "${install_folder}"
|
|
|
|
install -m644 contents/code/* "${install_folder}"/contents/code/
|
|
|
|
install -m644 contents/config/* "${install_folder}"/contents/config/
|
|
|
|
install -m644 contents/data/* "${install_folder}"/contents/data/
|
|
|
|
install -m644 contents/images/* "${install_folder}"/contents/images/
|
|
|
|
install -m644 contents/locale/*.{sh,pot} "${install_folder}"/contents/locale/
|
|
|
|
install -d "${install_folder}"/contents/locale/pt_BR/LC_MESSAGES/
|
|
|
|
install -m644 contents/locale/pt_BR/LC_MESSAGES/* "${install_folder}"/contents/locale/pt_BR/LC_MESSAGES/
|
|
|
|
install -m644 contents/ui/*.{ui,qml} "${install_folder}"/contents/ui/
|
2013-05-27 13:36:05 +08:00
|
|
|
install -Dm644 metadata.desktop \
|
|
|
|
"${pkgdir}"/usr/share/kde4/services/plasma-applet-tomatoid.desktop
|
|
|
|
}
|