summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracheronfail2023-11-05 00:06:13 +1030
committeracheronfail2023-11-04 22:01:17 +1030
commitfae1046930a525402780a6a581f665176f1da165 (patch)
tree28de61ecd4ad9e0b744b2ad42325b5e991606b9d
parentfae1182f98f9c2de95e9099233857741eee798e2 (diff)
downloadaur-fae1046930a525402780a6a581f665176f1da165.tar.gz
0.9.0
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD4
-rw-r--r--justfile5
3 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ebe8e1fbeca..915aa123618a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,5 +10,6 @@ pkgbase = i3stat-bin
optdepends = dunst: showing if notifications are paused or not via dunst
optdepends = i3-wm: use it as the i3 status_command
source = i3stat-0.9.0.zip::https://github.com/acheronfail/i3stat/releases/download/0.9.0/i3stat-x86_64-unknown-linux-gnu.zip
+ sha512sums = 1c2d3aea3114ad939cfd47e0a7a551c25b83ee33fdb62bb1a9e5ab9d258495d15483c6fed5fb52ddede449da79e66d0a2c121c131eda44d338d8922a2daa4692
pkgname = i3stat-bin
diff --git a/PKGBUILD b/PKGBUILD
index d913da0e870f..4c71bc18d3b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Callum Osmotherly <acheronfail@gmail.com>
pkgname=i3stat-bin
-pkgver="0.9.0"
+pkgver=0.9.0
pkgrel=1
pkgdesc="A lightweight and batteries-included status_command for i3 and sway"
arch=('x86_64')
@@ -13,7 +13,7 @@ optdepends=(
'i3-wm: use it as the i3 status_command'
)
source=("${pkgname%-bin}-${pkgver}.zip::$url/releases/download/${pkgver}/${pkgname%-bin}-x86_64-unknown-linux-gnu.zip")
-
+sha512sums=('1c2d3aea3114ad939cfd47e0a7a551c25b83ee33fdb62bb1a9e5ab9d258495d15483c6fed5fb52ddede449da79e66d0a2c121c131eda44d338d8922a2daa4692')
package() {
cd "${pkgname%-bin}-x86_64-unknown-linux-gnu"
diff --git a/justfile b/justfile
new file mode 100644
index 000000000000..41a028d4e922
--- /dev/null
+++ b/justfile
@@ -0,0 +1,5 @@
+update version:
+ sed --regexp-extended --in-place -E "0,/pkgver=.+$/{s/(pkgver=)(.+$)/\1{{version}}/}" ./PKGBUILD
+ sed --regexp-extended --in-place -E "0,/sha512sums=.+$/{s/sha512sums=.+$/$(makepkg --geninteg)/}" ./PKGBUILD
+ makepkg --printsrcinfo > .SRCINFO
+ git commit --all --message $(echo {{version}} | tr -d '"'}) \ No newline at end of file