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) - -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) - -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" -}