Date: Saturday, May 6, 2023 @ 21:49:11
Author: freswa
Revision: 1459155
archrelease: copy trunk to community-x86_64
Added:
i3status-rust/repos/community-x86_64/PKGBUILD
(from rev 1459154, i3status-rust/trunk/PKGBUILD)
Deleted:
i3status-rust/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-06 21:49:05 UTC (rev 1459154)
+++ PKGBUILD 2023-05-06 21:49:11 UTC (rev 1459155)
@@ -1,56 +0,0 @@
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Daniel M. Capella <[email protected]>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-
-pkgname=i3status-rust
-pkgver=0.31.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' 'lm_sensors')
-makedepends=('rust' 'pandoc')
-optdepends=('alsa-utils: for the volume block'
- 'bluez: for the bluetooth block'
- 'fakeroot: for the pacman block to show pending updates'
- 'kdeconnect: for the kdeconnect 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=(${pkgname}-${pkgver}.tar.gz::"https://github.com/greshake/i3status-rust/archive/refs/tags/v${pkgver}.tar.gz")
-b2sums=('15d0bd0176146febfff634c1d408d81f9e4ca01bca596d440e08f6ae6a43b85652c1f97d0d6834376c996e1eba800272ad14d912e3081b61dbadb5e6c2cf869f')
-
-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'
- cargo xtask generate-manpage
-}
-
-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 1459154,
i3status-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-06 21:49:11 UTC (rev 1459155)
@@ -0,0 +1,56 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Daniel M. Capella <[email protected]>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+
+pkgname=i3status-rust
+pkgver=0.31.2
+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' 'lm_sensors')
+makedepends=('rust' 'pandoc')
+optdepends=('alsa-utils: for the volume block'
+ 'bluez: for the bluetooth block'
+ 'fakeroot: for the pacman block to show pending updates'
+ 'kdeconnect: for the kdeconnect 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=(${pkgname}-${pkgver}.tar.gz::"https://github.com/greshake/i3status-rust/archive/refs/tags/v${pkgver}.tar.gz")
+b2sums=('b40b22346cf40584c2b2ac090a1ac7f811aa58f9dcd90919bb52498aa6327953150de31cc4f311560dc5eb90b341daa8ecaf3be1102574f3ec52c47428b74c5f')
+
+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'
+ cargo xtask generate-manpage
+}
+
+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
+}