blob: 972b60a801df2109c2354ba0548a1dc7ddeead41 (
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
|
# Maintainer: D3vil0p3r <vozaanthony[at]gmail[dot]com>
pkgname=plasma5-applets-bigsur-inlinebattery
pkgver=16.85a2a99
pkgrel=1
pkgdesc='Improved Mac-like Inline Battery Plasmoid for KDE.'
arch=('any')
url='https://github.com/Fausto-Korpsvart/mcOS-BS-Inline-Battery'
license=('CC-BY')
depends=('plasma-workspace')
makedepends=('git')
source=("$pkgname::git+$url.git")
sha512sums=('SKIP')
pkgver() {
cd $pkgname
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd $pkgname
_pkgdir="$pkgdir/usr/share/plasma/plasmoids/org.kde.plasma.bigSur-inlineBattery"
install -d 755 "$_pkgdir"
cp -r contents metadata.desktop "$_pkgdir"
}
|