Date: Monday, April 4, 2022 @ 20:30:59 Author: freswa Revision: 1181398
archrelease: copy trunk to community-x86_64 Added: i3status-rust/repos/community-x86_64/PKGBUILD (from rev 1181397, i3status-rust/trunk/PKGBUILD) Deleted: i3status-rust/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 118 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 59 insertions(+), 59 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-04 20:30:57 UTC (rev 1181397) +++ PKGBUILD 2022-04-04 20:30:59 UTC (rev 1181398) @@ -1,59 +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.8 -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' - '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=('d3b4c0309b6226b1973d0ff2a8e3bf9b66348e449304488a2641e2196acd4b0478922ab119103954f90929d411a3fa98ad9ce8083317dcc6a9b7045beb14b291') - -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 1181397, i3status-rust/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-04 20:30:59 UTC (rev 1181398) @@ -0,0 +1,59 @@ +# 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.9 +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' + '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=('3092c1998eecf0fae959ae880aaafd301be89998d64a643061b97425d2e51be505df91e6462e8d2346d14d9a0dc841917b4b2b6dfbab75cd89c0b9ccfd8d2e70') + +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 +}