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-bin/.SRCINFO | 14 -------------- ouch-bin/PKGBUILD | 40 ---------------------------------------- ouch/.SRCINFO | 14 -------------- ouch/PKGBUILD | 52 ---------------------------------------------------- 4 files changed, 120 deletions(-) delete mode 100644 ouch-bin/.SRCINFO delete mode 100644 ouch-bin/PKGBUILD delete mode 100644 ouch/.SRCINFO delete mode 100644 ouch/PKGBUILD diff --git a/ouch-bin/.SRCINFO b/ouch-bin/.SRCINFO deleted file mode 100644 index 395e550..0000000 --- a/ouch-bin/.SRCINFO +++ /dev/null @@ -1,14 +0,0 @@ -pkgbase = ouch-bin - pkgdesc = Painless compression and decompression in the terminal (binary release) - pkgver = 0.4.0 - pkgrel = 1 - url = https://github.com/ouch-org/ouch - arch = x86_64 - license = MIT - provides = ouch - conflicts = ouch - conflicts = ouch-git - source = ouch-0.4.0.tar.gz::https://github.com/ouch-org/ouch/releases/download/0.4.0/ouch-x86_64-unknown-linux-gnu.tar.gz - sha256sums = 4b03c6a54b12e2038600cfb450aebac70bd9516fc9bf50a78c93f93fef75e60b - -pkgname = ouch-bin diff --git a/ouch-bin/PKGBUILD b/ouch-bin/PKGBUILD deleted file mode 100644 index 0641836..0000000 --- a/ouch-bin/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Maintainer: Yigit Sever - -pkgname=ouch-bin -_pkgname=${pkgname%-bin} -pkgver=0.4.0 -pkgrel=1 -pkgdesc="Painless compression and decompression in the terminal (binary release)" -arch=('x86_64') -url="https://github.com/ouch-org/ouch" -license=('MIT') -provides=(${_pkgname}) -conflicts=(${_pkgname} ${_pkgname}-git) -source=("${_pkgname}-${pkgver}.tar.gz::${url}/releases/download/${pkgver}/ouch-x86_64-unknown-linux-gnu.tar.gz") -sha256sums=('4b03c6a54b12e2038600cfb450aebac70bd9516fc9bf50a78c93f93fef75e60b') - -package() { - # Binary releaes is archived in a folder with a generic name, it is not ideal - # (e.g. aur helpers will complain about name clashes) - # So we fix it - cd "${srcdir}" - mkdir "${_pkgname}-${pkgver}" - mv "${srcdir}/ouch-x86_64-unknown-linux-gnu/"* "${_pkgname}-${pkgver}" - rmdir ouch-x86_64-unknown-linux-gnu - - cd "${srcdir}/${_pkgname}-${pkgver}" - - install -Dm0755 -t "${pkgdir}/usr/bin" "${_pkgname}" - install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/${_pkgname}/LICENSE" - - # install manpages - install -Dm0644 "man/${_pkgname}.1" -t "${pkgdir}/usr/share/man/man1" - install -Dm0644 "man/${_pkgname}-compress.1" -t "${pkgdir}/usr/share/man/man1" - install -Dm0644 "man/${_pkgname}-decompress.1" -t "${pkgdir}/usr/share/man/man1" - install -Dm0644 "man/${_pkgname}-list.1" -t "${pkgdir}/usr/share/man/man1" - - # install shell completions - install -Dm0644 "completions/${_pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${_pkgname}" - install -Dm0644 "completions/${_pkgname}.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/${_pkgname}.fish" - install -Dm0644 "completions/_${_pkgname}" "${pkgdir}/usr/share/zsh/site-functions/_${_pkgname}" -} diff --git a/ouch/.SRCINFO b/ouch/.SRCINFO deleted file mode 100644 index 9ab8a60..0000000 --- a/ouch/.SRCINFO +++ /dev/null @@ -1,14 +0,0 @@ -pkgbase = ouch - pkgdesc = Painless compression and decompression in the terminal - pkgver = 0.4.1 - pkgrel = 2 - url = https://github.com/ouch-org/ouch - arch = x86_64 - license = MIT - makedepends = cargo - conflicts = ouch-git - conflicts = ouch-bin - source = ouch-0.4.1.tar.gz::https://github.com/ouch-org/ouch/archive/refs/tags/0.4.1.tar.gz - sha256sums = b0fcd6bbe6c66544b5bf1167d72605427c5cc6afae564f23f3eff5ea22b01b79 - -pkgname = ouch 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