diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2021-07-21 19:45:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 22:45:43 -0400 |
commit | b24ceea5e14b3db9de69e8f927a48fb9122eeff0 (patch) | |
tree | 9489916cfc009107ccea10dabfbf9ef67cca4d68 /deployment | |
parent | 8aa1303b3ccaee3f42a9ca339e4f8ae1aee5613c (diff) |
ci: remove AUR templates (#555)
Removes the AUR templates since they are no longer used in deployment workflows.
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/linux/arch/PKGBUILD.template | 34 | ||||
-rw-r--r-- | deployment/linux/arch/PKGBUILD_BIN.template | 30 |
2 files changed, 0 insertions, 64 deletions
diff --git a/deployment/linux/arch/PKGBUILD.template b/deployment/linux/arch/PKGBUILD.template deleted file mode 100644 index b79a4234..00000000 --- a/deployment/linux/arch/PKGBUILD.template +++ /dev/null @@ -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" -}
\ No newline at end of file diff --git a/deployment/linux/arch/PKGBUILD_BIN.template b/deployment/linux/arch/PKGBUILD_BIN.template deleted file mode 100644 index 2549fcc0..00000000 --- a/deployment/linux/arch/PKGBUILD_BIN.template +++ /dev/null @@ -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" -} |