[arch-commits] Commit in i3status-rust/trunk (PKGBUILD)

Frederik Schwan freswa at archlinux.org
Sun May 9 15:54:45 UTC 2021


    Date: Sunday, May 9, 2021 @ 15:54:45
  Author: freswa
Revision: 929348

upgpkg: i3status-rust 0.20.0-1

Modified:
  i3status-rust/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-09 15:54:07 UTC (rev 929347)
+++ PKGBUILD	2021-05-09 15:54:45 UTC (rev 929348)
@@ -3,7 +3,7 @@
 # Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
 
 pkgname=i3status-rust
-pkgver=0.14.7
+pkgver=0.20.0
 pkgrel=1
 pkgdesc='Resourcefriendly and feature-rich replacement for i3status, written in pure Rust'
 arch=('x86_64')
@@ -26,7 +26,7 @@
             'ttf-font-awesome: for the awesome icons'
             'upower: for the battery block')
 source=("https://github.com/greshake/i3status-rust/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-b2sums=('ebe8ab9c9d9e67e00beb97a21076711feffa8e7b764e19c13c2e94ecc12270282304c699f5b0cab4118ec4fcdfc0592100c308c90051c734d62912f8eea7326c')
+b2sums=('f822f145b155845c2b14e638bc12206cd118b6740b1faae4a951c057cf8b34b6da5c02271a614a5f8e54482999a1378587ed7f8784b31e3d4b669d4013d2d1af')
 
 build() {
   cd ${pkgname}-${pkgver}
@@ -38,7 +38,15 @@
   install -Dm755 -t "${pkgdir}"/usr/bin target/release/i3status-rs
   install -Dm644 -t "${pkgdir}"/usr/share/man/man1 man/i3status-rs.1
 
-  for example in example_config.toml example_icon.toml example_theme.toml; do
+  for icon in files/icons/*.toml; do
+    install -Dm644 -t "${pkgdir}"/usr/share/${pkgname}/icons "${icon}"
+  done
+
+  for theme in files/themes/*.toml; do
+    install -Dm644 -t "${pkgdir}"/usr/share/${pkgname}/themes "${theme}"
+  done
+
+  for example in example/*.toml; do
     install -Dm644 -t "${pkgdir}"/usr/share/doc/${pkgname}/examples/ ${example}
   done
 }



More information about the arch-commits mailing list