pkgbuild bumps version

This commit is contained in:
Alex Janka 2024-07-25 15:35:50 +10:00
parent 9f5ea80d52
commit ab95a4b019

View file

@ -1,7 +1,7 @@
# Maintainer: Alex Janka <alex@alexjanka.com> # Maintainer: Alex Janka <alex@alexjanka.com>
pkgname=sway-flash-indicator pkgname=sway-flash-indicator
pkgver=0.1.0 pkgver=0.2.0
pkgrel=1 pkgrel=1
pkgdesc="flashes sway indicator border rather than always showing it" pkgdesc="flashes sway indicator border rather than always showing it"
arch=('x86_64' 'aarch64') arch=('x86_64' 'aarch64')
@ -17,6 +17,11 @@ build() {
cargo build --release --locked cargo build --release --locked
} }
pkgver() {
cargo metadata --format-version=1 |
jq -r '.packages[] | select(.name == "sway-flash-indicator") | .version'
}
package() { package() {
cd "sway-flash-indicator" cd "sway-flash-indicator"