blob: b2cbea7480aea6b8fd6bbc5d2f095c0c001cc9a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
pkgname=kdeplasma-applets-simpleweather-git
_pkgname=kdeplasma-applets-simpleweather
_gitpkgname=plasma-applet-simpleweather
pkgver=r84.72b2b94
pkgrel=1
pkgdesc="A minimalistic desktop weather widget based on the default KDE one."
arch=('any')
url="https://github.com/Zren/$_gitpkgname"
license=('GPL')
depends=('plasma-workspace' 'qt5-graphicaleffects' 'kdeplasma-addons')
makedepends=('git' 'extra-cmake-modules')
source=("git+https://github.com/Zren/$_gitpkgname.git")
md5sums=('SKIP')
pkgver() {
cd "${_gitpkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${_gitpkgname}/package"
mkdir -p $pkgdir/usr/share/plasma/plasmoids/com.github.zren.simpleweather
cp -r * $pkgdir/usr/share/plasma/plasmoids/com.github.zren.simpleweather/
}
|