mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
|
# Original contributor: Martin Cigorraga Muller <msx (@) archlinux (dot) us>
|
||
|
|
||
|
pkgname=kdeplasma-addons-applets-minimalclock
|
||
|
pkgver=0.12
|
||
|
pkgrel=2
|
||
|
pkgdesc="A minimalistic clock with configurable font and text color."
|
||
|
arch=('x86_64')
|
||
|
url='http://kde-apps.org/content/show.php/Minimal+Clock?content=156715'
|
||
|
license=('GPL')
|
||
|
depends=('kde-workspace')
|
||
|
source=("http://kde-apps.org/CONTENT/content-files/156715-minimal_clock.plasmoid")
|
||
|
md5sums=('7e0bbc72e514f759702d0d297801c207')
|
||
|
screenshot="http://i.imgur.com/mSOyBna.jpg"
|
||
|
install='minimalclock.install'
|
||
|
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/"
|
||
|
install_folder="${pkgdir}/usr/share/apps/plasma/plasmoids/minimalclock/"
|
||
|
install -d "${install_folder}"/contents/
|
||
|
install -d "${install_folder}"/contents/{config,ui}
|
||
|
install -m644 minimal_clock/metadata.desktop "${install_folder}"
|
||
|
install -m644 minimal_clock/contents/config/main.xml "${install_folder}"/contents/config/
|
||
|
install -m644 minimal_clock/contents/ui/* "${install_folder}"/contents/ui/
|
||
|
install -Dm644 minimal_clock/metadata.desktop \
|
||
|
"${pkgdir}"/usr/share/kde4/services/plasma-applet-minimalclock.desktop
|
||
|
}
|