blob: 7e1616cecf16d8e759bf311dfd763a4376a00b34 (
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: Mohamed Amine Zghal (medaminezghal) <medaminezghal at outlook dot com>
pkgname=plasma6-applets-mawaqit-prayer-times
pkgver=0.6.0
pkgrel=1
pkgdesc="Plasma 6 widget showing prayer times from your mosque on mawaqit.net"
arch=('any')
url='https://github.com/medaminezghal/plasma6-applets-mawaqit-prayer-times'
license=('GPL-3.0-or-later')
depends=('plasma-workspace')
optdepends=('qt6-positioning: GPS-accurate location detection via GeoClue' 'geoclue: location service backend for qt6-positioning')
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('f7ba14f56a1029eac2f2d7cc39d6ff90eee5b88ccde3516452eb2d39e253e81e')
package() {
cd "$srcdir"/$pkgname-$pkgver
install -dm755 "$pkgdir/usr/share/plasma/plasmoids"
cp -r package \
"$pkgdir/usr/share/plasma/plasmoids/com.github.medaminezghal.mawaqit"
install -Dm644 package/contents/icons/mosque.svg \
"$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.medaminezghal.mawaqit.svg"
find "$pkgdir/usr/share/plasma/plasmoids" -type d -exec chmod 755 {} +
find "$pkgdir/usr/share/plasma/plasmoids" -type f -exec chmod 644 {} +
}
|