Date: Thursday, May 18, 2023 @ 20:48:08
Author: freswa
Revision: 1463141
archrelease: copy trunk to community-x86_64
Added:
i3status-rust/repos/community-x86_64/PKGBUILD
(from rev 1463140, 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-18 20:48:02 UTC (rev 1463140)
+++ PKGBUILD 2023-05-18 20:48:08 UTC (rev 1463141)
@@ -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.4
-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=('2cf2f6df7b01d5bfd7483a14096823db95bd7756f017166174bc2689f03bb5d30b9115e2ea7b324ba6f1acfb7681c2ff03c120d594dc7fcf454cbdd82b7c0d8a')
-
-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 1463140,
i3status-rust/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-18 20:48:08 UTC (rev 1463141)
@@ -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.5
+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=('8d38fcdbc3bdb32e5a3ea0a09e27ee5e0677806dfffc64afdbc0d2ecd1f3e7f19c38c7c264525c7889c10356772c955a381469dcfdb9cd88b4abb9573e177166')
+
+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
+}