From 1d3ca9063d376c0555df59c92b05bbafe3319339 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 6 Jan 2023 15:56:54 +0300 Subject: Deleted package: ouch-bin Deleted package: ouch --- ouch/PKGBUILD | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 ouch/PKGBUILD (limited to 'ouch/PKGBUILD') diff --git a/ouch/PKGBUILD b/ouch/PKGBUILD deleted file mode 100644 index 349b337..0000000 --- a/ouch/PKGBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Maintainer: Yigit Sever - -pkgname=ouch -pkgver=0.4.1 -pkgrel=2 -pkgdesc="Painless compression and decompression in the terminal" -arch=('x86_64') -url="https://github.com/ouch-org/ouch" -license=('MIT') -makedepends=('cargo') -conflicts=(${pkgname}-git ${pkgname}-bin) -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz") -sha256sums=('3e126f00e1ad82ef4abfd28f86dac53b366a29de6a70359e734ecc8748f580fc') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - export RUSTUP_TOOLCHAIN=stable - export CARGO_TARGET_DIR=target - OUCH_ARTIFACTS_FOLDER=artifacts cargo build --frozen --release --all-features -} - -check() { - cd "$srcdir/$pkgname-$pkgver" - export RUSTUP_TOOLCHAIN=stable - cargo test --frozen --all-features -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - cd "$srcdir/$pkgname-$pkgver/artifacts" - - # install manpages - install -Dm0644 "${pkgname}.1" -t "${pkgdir}/usr/share/man/man1" - install -Dm0644 "${pkgname}-compress.1" -t "${pkgdir}/usr/share/man/man1" - install -Dm0644 "${pkgname}-decompress.1" -t "${pkgdir}/usr/share/man/man1" - install -Dm0644 "${pkgname}-list.1" -t "${pkgdir}/usr/share/man/man1" - - # install shell completions - install -Dm0644 "${pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" - install -Dm0644 "${pkgname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish" - install -Dm0644 "_${pkgname}" "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" -} -sha256sums=('b0fcd6bbe6c66544b5bf1167d72605427c5cc6afae564f23f3eff5ea22b01b79') -- cgit v1.2.3-70-g09d2