2020-02-11 14:41:16 +00:00
|
|
|
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
|
|
pkgname=powersupply
|
2022-03-24 00:34:00 +00:00
|
|
|
pkgver=0.6.0
|
|
|
|
pkgrel=0
|
2020-02-11 14:41:16 +00:00
|
|
|
pkgdesc="GTK3 tool for displaying battery and power info"
|
|
|
|
url="https://gitlab.com/MartijnBraam/powersupply"
|
|
|
|
arch="noarch"
|
|
|
|
license="MIT"
|
2021-05-26 13:23:22 +00:00
|
|
|
depends="python3 py3-gobject3 py3-setuptools gtk+3.0 libhandy1"
|
2020-02-11 14:41:16 +00:00
|
|
|
makedepends="py3-setuptools"
|
|
|
|
source="
|
|
|
|
$pkgname-$pkgver.tar.gz::https://gitlab.com/MartijnBraam/powersupply/-/archive/$pkgver/powersupply-$pkgver.tar.gz
|
|
|
|
"
|
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
python3 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
|
|
install -Dm644 "$builddir"/data/nl.brixit.powersupply.desktop \
|
|
|
|
"$pkgdir"/usr/share/applications/nl.brixit.powersupply.desktop
|
|
|
|
install -Dm644 "$builddir"/data/nl.brixit.powersupply.svg \
|
|
|
|
"$pkgdir"/usr/share/icons/hicolor/scalable/apps/nl.brixit.powersupply.svg
|
|
|
|
|
|
|
|
}
|
2021-05-26 13:23:22 +00:00
|
|
|
sha512sums="
|
2022-03-24 00:34:00 +00:00
|
|
|
d89d75b2da75cfb7dbe15c7c3e1f4e613563395a05c40055f079a283abd77c2903d9f097da21cea26cea823c0b6e3f941f527be5e50ee27901921beb4191ec49 powersupply-0.6.0.tar.gz
|
2021-05-26 13:23:22 +00:00
|
|
|
"
|