[arch-commits] Commit in i3status-rust/repos/community-testing-x86_64 (2 files)
Frederik Schwan
freswa at archlinux.org
Sun May 9 16:39:03 UTC 2021
Date: Sunday, May 9, 2021 @ 16:39:03
Author: freswa
Revision: 929357
archrelease: copy trunk to community-testing-x86_64
Added:
i3status-rust/repos/community-testing-x86_64/PKGBUILD
(from rev 929356, i3status-rust/trunk/PKGBUILD)
Deleted:
i3status-rust/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-09 16:39:00 UTC (rev 929356)
+++ PKGBUILD 2021-05-09 16:39:03 UTC (rev 929357)
@@ -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.0
-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=('f822f145b155845c2b14e638bc12206cd118b6740b1faae4a951c057cf8b34b6da5c02271a614a5f8e54482999a1378587ed7f8784b31e3d4b669d4013d2d1af')
-
-build() {
- cd ${pkgname}-${pkgver}
- cargo build --release --locked
-}
-
-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 example/*.toml; do
- install -Dm644 -t "${pkgdir}"/usr/share/doc/${pkgname}/examples/ ${example}
- done
-}
Copied: i3status-rust/repos/community-testing-x86_64/PKGBUILD (from rev 929356, i3status-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-09 16:39:03 UTC (rev 929357)
@@ -0,0 +1,52 @@
+# 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.0
+pkgrel=2
+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=('f822f145b155845c2b14e638bc12206cd118b6740b1faae4a951c057cf8b34b6da5c02271a614a5f8e54482999a1378587ed7f8784b31e3d4b669d4013d2d1af')
+
+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 example/*.toml; do
+ install -Dm644 -t "${pkgdir}"/usr/share/doc/${pkgname}/examples/ ${example}
+ done
+}
More information about the arch-commits
mailing list