ci: remove AUR templates (#555)
Removes the AUR templates since they are no longer used in deployment workflows.
This commit is contained in:
parent
8aa1303b3c
commit
b24ceea5e1
deployment/linux/arch
|
@ -1,34 +0,0 @@
|
|||
# Maintainer: Clement Tsang (xoronth) <cjhtsang@uwaterloo.ca>
|
||||
|
||||
pkgname=bottom
|
||||
pkgver=$version
|
||||
pkgrel=1
|
||||
pkgdesc="A cross-platform graphical process/system monitor with a customizable interface and a multitude of features."
|
||||
provides=('bottom')
|
||||
makedepends=('cargo')
|
||||
arch=('x86_64' 'aarch64' 'armv7h')
|
||||
url="https://github.com/ClementTsang/bottom"
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/ClementTsang/bottom/archive/$pkgver.tar.gz")
|
||||
license=('MIT')
|
||||
sha512sums=('$hash1')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cargo build --release --locked --no-default-features
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
CARGO_HUSKY_DONT_INSTALL_HOOKS=true cargo test --release --locked --no-default-features
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -Dm755 target/release/btm "$pkgdir/usr/bin/btm"
|
||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
||||
|
||||
local target_dir=$(ls target/release/build/bottom-*/out/btm.bash | head -n1 | xargs dirname)
|
||||
install -Dm644 "$target_dir"/_btm "$pkgdir/usr/share/zsh/site-functions/_btm"
|
||||
install -Dm644 "$target_dir"/btm.bash "$pkgdir/usr/share/bash-completion/completions/btm"
|
||||
install -Dm644 "$target_dir"/btm.fish "$pkgdir/usr/share/fish/vendor_completions.d/btm.fish"
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
# Maintainer: Clement Tsang (xoronth) <cjhtsang@uwaterloo.ca>
|
||||
|
||||
pkgname=bottom-bin
|
||||
pkgver=$version
|
||||
pkgrel=1
|
||||
pkgdesc='A cross-platform graphical process/system monitor with a customizable interface and a multitude of features.'
|
||||
provides=('bottom')
|
||||
conflicts=('bottom')
|
||||
arch=('x86_64' 'aarch64' 'armv7h')
|
||||
url="https://github.com/ClementTsang/bottom"
|
||||
license=(MIT)
|
||||
|
||||
source=(LICENSE::${url}/raw/${pkgver}/LICENSE)
|
||||
source_x86_64=(archive-${pkgver}.tar.gz::${url}/releases/download/${pkgver}/bottom_x86_64-unknown-linux-gnu.tar.gz)
|
||||
source_aarch64=(archive-${pkgver}.tar.gz::${url}/releases/download/${pkgver}/bottom_aarch64-unknown-linux-gnu.tar.gz)
|
||||
source_armv7h=(archive-${pkgver}.tar.gz::${url}/releases/download/${pkgver}/bottom_armv7-unknown-linux-gnueabihf.tar.gz)
|
||||
|
||||
sha512sums=(SKIP)
|
||||
sha512sums_x86_64=('$hash1')
|
||||
sha512sums_aarch64=('$hash2')
|
||||
sha512sums_armv7h=('$hash3')
|
||||
|
||||
package() {
|
||||
install -Dm755 btm "$pkgdir"/usr/bin/btm
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
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"
|
||||
}
|
Loading…
Reference in New Issue