blob: d69871e241f1762db2ca1b96b8b564075cdf29ad (
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
27
28
29
30
31
32
33
34
|
# Maintainer: MaoYaoTang <maoyaotang@163.com>
pkgname=modern-weather-enhanced
pkgver=v1.0.7.r60.g7c6d8d3
pkgrel=1
epoch=2
pkgdesc="Weather widget for KDE Plasma with meteogram and extensive customization"
arch=('any')
url='https://github.com/samy879/modern-weather-enhanced'
license=('GPL-2.0-or-later')
depends=('plasma-workspace' 'plasma5support' 'libplasma' 'kirigami'
'kcmutils' 'qt6-declarative' 'qt6-5compat')
makedepends=('gettext')
source=("git+$url.git")
sha256sums=('SKIP')
_plasmoid=com.github.samy879.minimalist-animated-weather
pkgver() {
cd $pkgname
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $pkgname
sh translate/tools/build.sh
}
package() {
cd $pkgname
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
install -m755 -d ${pkgdir}/usr/share/plasma/plasmoids/${_plasmoid}
cp -r contents metadata.json -t "${pkgdir}/usr/share/plasma/plasmoids/${_plasmoid}/"
}
|