Date: Wednesday, May 17, 2023 @ 13:18:02 Author: alerque Revision: 1462951
archrelease: copy trunk to community-x86_64 Added: bottom/repos/community-x86_64/PKGBUILD (from rev 1462950, bottom/trunk/PKGBUILD) Deleted: bottom/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 116 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 58 insertions(+), 58 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-17 13:17:53 UTC (rev 1462950) +++ PKGBUILD 2023-05-17 13:18:02 UTC (rev 1462951) @@ -1,58 +0,0 @@ -# Maintainer: George Rawlinson <grawlin...@archlinux.org> -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: Clement Tsang (xoronth) <cjhts...@uwaterloo.ca> - -pkgname=bottom -pkgver=0.9.1 -pkgrel=1 -pkgdesc='A graphical process/system monitor' -arch=('x86_64') -url='https://github.com/ClementTsang/bottom' -license=('MIT') -depends=('gcc-libs') -makedepends=('rust') -source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('34c03fe086d2c9a658780a9e4c07c100d4a531c4b14f94aa430a4b04ab82a82af0d0415730d8e790f668008ae3c1d2f77e351aebb2e05ecf4531a77a29950b5d') -b2sums=('c272b0b6e41baee7d007a3ef92991a952ccfaf823e7f85c4d58ff46c685e7d03e74ea6e76b47ad2f82cc576653aba9b4a0f8e7abdff9e33670871fdc6fc5efed') - -prepare() { - cd "$pkgname-$pkgver" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "$pkgname-$pkgver" - BTM_GENERATE=true cargo build --frozen --release --all-features -} - -check() { - cd "$pkgname-$pkgver" - CARGO_HUSKY_DONT_INSTALL_HOOKS=true cargo test --frozen --all-features -} - -package() { - cd "$pkgname-$pkgver" - - # binary - install -vDm755 -t "$pkgdir/usr/bin" target/release/btm - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md - cp -vr docs sample_configs "$pkgdir/usr/share/doc/$pkgname" - rm -f "$pkgdir/usr/share/doc/$pkgname/docs/.gitignore" - - cd target/tmp/bottom - - # man page - install -vDm644 -t "$pkgdir/usr/share/man/man1" manpage/btm.1 - - # completions - install -Dm644 completion/_btm "$pkgdir/usr/share/zsh/site-functions/_btm" - install -Dm644 completion/btm.bash "$pkgdir/usr/share/bash-completion/completions/btm" - install -Dm644 completion/btm.fish "$pkgdir/usr/share/fish/vendor_completions.d/btm.fish" -} - -# vim:set ts=2 sw=2 et: Copied: bottom/repos/community-x86_64/PKGBUILD (from rev 1462950, bottom/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-17 13:18:02 UTC (rev 1462951) @@ -0,0 +1,58 @@ +# Maintainer: George Rawlinson <grawlin...@archlinux.org> +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Clement Tsang (xoronth) <cjhts...@uwaterloo.ca> + +pkgname=bottom +pkgver=0.9.1 +pkgrel=2 +pkgdesc='A graphical process/system monitor' +arch=('x86_64') +url='https://github.com/ClementTsang/bottom' +license=('MIT') +depends=('gcc-libs') +makedepends=('rust') +source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('34c03fe086d2c9a658780a9e4c07c100d4a531c4b14f94aa430a4b04ab82a82af0d0415730d8e790f668008ae3c1d2f77e351aebb2e05ecf4531a77a29950b5d') +b2sums=('c272b0b6e41baee7d007a3ef92991a952ccfaf823e7f85c4d58ff46c685e7d03e74ea6e76b47ad2f82cc576653aba9b4a0f8e7abdff9e33670871fdc6fc5efed') + +prepare() { + cd "$pkgname-$pkgver" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "$pkgname-$pkgver" + BTM_GENERATE=true cargo build --frozen --release --features deploy +} + +check() { + cd "$pkgname-$pkgver" + CARGO_HUSKY_DONT_INSTALL_HOOKS=true cargo test --frozen --features deploy +} + +package() { + cd "$pkgname-$pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" target/release/btm + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md + cp -vr docs sample_configs "$pkgdir/usr/share/doc/$pkgname" + rm -f "$pkgdir/usr/share/doc/$pkgname/docs/.gitignore" + + cd target/tmp/bottom + + # man page + install -vDm644 -t "$pkgdir/usr/share/man/man1" manpage/btm.1 + + # completions + install -Dm644 completion/_btm "$pkgdir/usr/share/zsh/site-functions/_btm" + install -Dm644 completion/btm.bash "$pkgdir/usr/share/bash-completion/completions/btm" + install -Dm644 completion/btm.fish "$pkgdir/usr/share/fish/vendor_completions.d/btm.fish" +} + +# vim:set ts=2 sw=2 et: