Date: Sunday, January 30, 2022 @ 14:30:17 Author: freswa Revision: 1120244
archrelease: copy trunk to community-x86_64 Added: i3status-rust/repos/community-x86_64/PKGBUILD (from rev 1120243, i3status-rust/trunk/PKGBUILD) Deleted: i3status-rust/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 120 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-30 14:30:13 UTC (rev 1120243) +++ PKGBUILD 2022-01-30 14:30:17 UTC (rev 1120244) @@ -1,60 +0,0 @@ -# Maintainer: Frederik Schwan <freswa at archlinux dot org> -# Contributor: Daniel M. Capella <poly...@archlinux.org> -# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> - -pkgname=i3status-rust -pkgver=0.21.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') -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=('844aac09ab1d7c7130ff1deb71298864d97625aef2ccc99c7d91e16d05ed0b781360cac7b00e0e29060bacd05e1f4d70f82ede308f0966b84ee85b91130fbd24') - -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 -} Copied: i3status-rust/repos/community-x86_64/PKGBUILD (from rev 1120243, i3status-rust/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-30 14:30:17 UTC (rev 1120244) @@ -0,0 +1,60 @@ +# Maintainer: Frederik Schwan <freswa at archlinux dot org> +# Contributor: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> + +pkgname=i3status-rust +pkgver=0.21.3 +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') +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=('f61948f839907116e626e22b14a2086f62dbcd0a3fc86873deab5c286390a359b86d992f9018ce909ab3fd1fde650611aaab8b9a50aef4faefcaa4a9b7c5b0e7') + +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 +}