diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 7 insertions, 7 deletions
@@ -1,11 +1,11 @@ pkgbase = gnome-shell-extension-battery-health-charging-git pkgdesc = An extension to maximize the battery life of laptops by setting their charging threshold/modes. - pkgver = 42.r2.gede2217 + pkgver = 48.r5.g689bb0b pkgrel = 1 url = https://github.com/maniacx/Battery-Health-Charging install = battery-health-charging.install arch = any - license = unknown + license = GPL-3.0-or-later makedepends = git depends = gnome-shell depends = polkit @@ -1,12 +1,12 @@ # Maintainer: Mark Wagie <mark dot wagie at proton dot me> pkgname=gnome-shell-extension-battery-health-charging-git _uuid=Battery-Health-Charging@maniacx.github.com -pkgver=42.r2.gede2217 +pkgver=48.r5.g689bb0b pkgrel=1 pkgdesc="An extension to maximize the battery life of laptops by setting their charging threshold/modes." arch=('any') url="https://github.com/maniacx/Battery-Health-Charging" -license=('unknown') +license=('GPL-3.0-or-later') depends=('gnome-shell' 'polkit') makedepends=('git') provides=("${pkgname%-git}") @@ -16,12 +16,12 @@ source=('git+https://github.com/maniacx/Battery-Health-Charging.git') sha256sums=('SKIP') pkgver() { - cd "$srcdir/Battery-Health-Charging" + cd Battery-Health-Charging git describe --long --tags | sed 's/^v0//;s/-GNOME45//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "$srcdir/Battery-Health-Charging" + cd Battery-Health-Charging gnome-extensions pack ./ \ --extra-source=devices/ \ --extra-source=icons/ \ @@ -35,7 +35,7 @@ build() { } package() { - cd "$srcdir/Battery-Health-Charging" + cd Battery-Health-Charging install -d "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}" bsdtar xvf "${_uuid}.shell-extension.zip" -C \ "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}/" --no-same-owner |