[arch-commits] Commit in i3status-rust/repos/community-x86_64 (PKGBUILD PKGBUILD)

Frederik Schwan freswa at gemini.archlinux.org
Mon Jan 17 21:33:56 UTC 2022


    Date: Monday, January 17, 2022 @ 21:33:55
  Author: freswa
Revision: 1108277

archrelease: copy trunk to community-x86_64

Added:
  i3status-rust/repos/community-x86_64/PKGBUILD
    (from rev 1108276, i3status-rust/trunk/PKGBUILD)
Deleted:
  i3status-rust/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 60 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-17 21:33:53 UTC (rev 1108276)
+++ PKGBUILD	2022-01-17 21:33:55 UTC (rev 1108277)
@@ -1,52 +0,0 @@
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-
-pkgname=i3status-rust
-pkgver=0.20.7
-pkgrel=1
-pkgdesc='Resourcefriendly and feature-rich replacement for i3status, written in pure Rust'
-arch=('x86_64')
-url='https://github.com/greshake/i3status-rust'
-license=('GPL3')
-depends=('libpulse')
-makedepends=('rust')
-optdepends=('alsa-utils: for the volume block'
-            'bluez: for the bluetooth block'
-            'curl: for the weather block'
-            'fakeroot: for the pacman block to show pending updates'
-            'ibus: for the ibus block'
-            'iw: display wifi signal strength in net block'
-            'kdeconnect: for the kdeconnect block'
-            'lm_sensors: for the temperature block'
-            'networkmanager: for the networkmanager block'
-            'powerline-fonts: for all themes using the Powerline arrow char'
-            'pulseaudio: for the volume block'
-            'speedtest-cli: for the speedtest block'
-            '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=('40f951e1a927a2cbe2a45f3875d6750432e8f1f02ce2d2f153d6b00a8102d87bca8bdeb5a3713c73a998c7798ca88c5fea2feed84e3363859b532a5bc2cb49eb')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  cargo build --release --locked --features 'pulseaudio maildir'
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm755 -t "${pkgdir}"/usr/bin target/release/i3status-rs
-  install -Dm644 -t "${pkgdir}"/usr/share/man/man1 man/i3status-rs.1
-
-  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 examples/*.toml; do
-    install -Dm644 -t "${pkgdir}"/usr/share/doc/${pkgname}/examples/ ${example}
-  done
-}

Copied: i3status-rust/repos/community-x86_64/PKGBUILD (from rev 1108276, i3status-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-17 21:33:55 UTC (rev 1108277)
@@ -0,0 +1,60 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+
+pkgname=i3status-rust
+pkgver=0.21.1
+pkgrel=1
+pkgdesc='Resourcefriendly and feature-rich replacement for i3status, written in pure Rust'
+arch=('x86_64')
+url='https://github.com/greshake/i3status-rust'
+license=('GPL3')
+depends=('libpulse')
+makedepends=('rust')
+optdepends=('alsa-utils: for the volume block'
+            'bluez: for the bluetooth block'
+            'curl: for the weather block'
+            'fakeroot: for the pacman block to show pending updates'
+            'ibus: for the ibus block'
+            'iw: display wifi signal strength in net block'
+            'kdeconnect: for the kdeconnect block'
+            'lm_sensors: for the temperature block'
+            'networkmanager: for the networkmanager block'
+            'powerline-fonts: for all themes using the Powerline arrow char'
+            'pulseaudio: for the volume block'
+            'speedtest-cli: for the speedtest block'
+            '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=('6a957395bffb97230d3e0e67cfc79c026b9ea2e7ee6e22992221f2df6a712229cf6f8bd25f96d25044e3ac33da878337a6433158744c087953cc726813d40482')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+
+build() {
+  cd ${pkgname}-${pkgver}
+  export RUSTUP_TOOLCHAIN=stable
+  export CARGO_TARGET_DIR=target
+  cargo build --release --locked --features 'pulseaudio maildir'
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm755 -t "${pkgdir}"/usr/bin target/release/i3status-rs
+  install -Dm644 -t "${pkgdir}"/usr/share/man/man1 man/i3status-rs.1
+
+  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 examples/*.toml; do
+    install -Dm644 -t "${pkgdir}"/usr/share/doc/${pkgname}/examples/ ${example}
+  done
+}



More information about the arch-commits mailing list