diff options
author | Mark Wagie | 2024-01-11 08:56:47 -0700 |
---|---|---|
committer | Mark Wagie | 2024-01-11 08:56:47 -0700 |
commit | 58c1da8aa3b41e2b6e15e625c3d646f5ebf5bbd0 (patch) | |
tree | 509f14afc5e37e7bc85c37ee7617b52729d221c5 | |
parent | 27222e7005a585356bf2ef1d8c3fa811cbe0cd8a (diff) | |
download | aur-58c1da8aa3b41e2b6e15e625c3d646f5ebf5bbd0.tar.gz |
use tags, install locale to system
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = gnome-shell-extension-bluetooth-battery-meter-git pkgdesc = An extension featuring indicator icons in the system tray, serving as a meter for Bluetooth device battery levels. - pkgver = r1.7d69349 + pkgver = 002.GNOME45.r0.gd357746 pkgrel = 1 url = https://github.com/maniacx/Bluetooth-Battery-Meter arch = any @@ -1,7 +1,7 @@ # Maintainer: Mark Wagie <mark dot wagie at proton dot me> pkgname=gnome-shell-extension-bluetooth-battery-meter-git _uuid=Bluetooth-Battery-Meter@maniacx.github.com -pkgver=r1.7d69349 +pkgver=002.GNOME45.r0.gd357746 pkgrel=1 pkgdesc="An extension featuring indicator icons in the system tray, serving as a meter for Bluetooth device battery levels." arch=('any') @@ -16,7 +16,7 @@ sha256sums=('SKIP') pkgver() { cd Bluetooth-Battery-Meter - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { @@ -36,8 +36,9 @@ package() { bsdtar -xvf "${_uuid}.shell-extension.zip" -C \ "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}/" --no-same-owner - # Does not detect icons in system and no locale yet + # Does not detect icons in system # mv "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}"/{icons,locale} "$pkgdir/usr/share/" + mv "$pkgdir/usr/share/gnome-shell/extensions/${_uuid}/locale" "$pkgdir/usr/share/" install -Dm644 schemas/org.gnome.shell.extensions.Bluetooth-Battery-Meter.gschema.xml -t \ "$pkgdir/usr/share/glib-2.0/schemas/" |