From fbdd3e4982185ff6730c14eed649ba3045b8568f Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 8 Jun 2023 01:22:06 +0300 Subject: Deleted package: ouch-git --- ouch-git/PKGBUILD | 58 ------------------------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 ouch-git/PKGBUILD (limited to 'ouch-git/PKGBUILD') diff --git a/ouch-git/PKGBUILD b/ouch-git/PKGBUILD deleted file mode 100644 index 7a33f12..0000000 --- a/ouch-git/PKGBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Maintainer: Yigit Sever - -pkgname=ouch-git -_pkgname=${pkgname%-git} -pkgver=r693.d4f181b -pkgrel=1 -pkgdesc="Painless compression and decompression in the terminal (git version)" -arch=('x86_64') -url="https://github.com/ouch-org/ouch/" -license=('MIT') -makedepends=('git' 'cargo') -provides=(${_pkgname}) -conflicts=(${_pkgname} ${_pkgname}-bin) -source=("${_pkgname}::git+${url}") -sha256sums=('SKIP') - -pkgver() { - cd "$srcdir/${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { - cd "$srcdir/${_pkgname}" - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - cd "$srcdir/${_pkgname}" - export RUSTUP_TOOLCHAIN=stable - export CARGO_TARGET_DIR=target - OUCH_ARTIFACTS_FOLDER=artifacts cargo build --frozen --release --all-features -} - -check() { - cd "$srcdir/${_pkgname}" - export RUSTUP_TOOLCHAIN=stable - cargo test --frozen --all-features -} - -package() { - cd "$srcdir/${_pkgname}" - - install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/${_pkgname}" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE" - - cd 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}" -} -- cgit v1.2.3-70-g09d2