From 9f35c97008d1a2e8e6f5375016d5baee522ec370 Mon Sep 17 00:00:00 2001 From: FollieHiyuki <folliekazetani@protonmail.com> Date: Sat, 10 Dec 2022 11:00:00 +0700 Subject: [PATCH] community/onefetch: upgrade to 2.14.2 --- community/onefetch/APKBUILD | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/community/onefetch/APKBUILD b/community/onefetch/APKBUILD index 6b456e775ebd..71baa0d8ee87 100644 --- a/community/onefetch/APKBUILD +++ b/community/onefetch/APKBUILD @@ -1,21 +1,15 @@ # Contributor: Leo <thinkabit.ukim@gmail.com> # Maintainer: omni <omni+alpine@hack.org> pkgname=onefetch -pkgver=2.12.0 -pkgrel=1 +pkgver=2.14.2 +pkgrel=0 pkgdesc="Git repository summary on your terminal" url="https://github.com/o2sh/onefetch" -arch="all !s390x !riscv64" # limiteed by rust/cargo +arch="all" license="MIT" -makedepends="cargo libgit2-dev zlib-dev" +makedepends="cargo libgit2-dev zlib-dev cmake" source="$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/onefetch/$pkgver/download" -# Reduce binary size -export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1 -export CARGO_PROFILE_RELEASE_LTO="true" -export CARGO_PROFILE_RELEASE_OPT_LEVEL="z" -export CARGO_PROFILE_RELEASE_PANIC="abort" - prepare() { default_prepare @@ -31,9 +25,9 @@ check() { } package() { - install -Dm0755 target/release/onefetch "$pkgdir"/usr/bin/onefetch + install -Dm0755 target/release/onefetch -t "$pkgdir"/usr/bin/ } sha512sums=" -02f6c8c11d6595b2df822fe875d6ceb5835d827006a60829ac0160a48031a6154f2a621af3ec51619cd0413fd4eecc4b5aabd6d06318093d3ff4f33160b02d4d onefetch-2.12.0.tar.gz +d4b1a6011e9cf9ddd54b35ba8b2a5753a6b6283e24f27f4003e460317c1e615317063658a46b9b3062032dd12c3c988557a0c6a55fd84eea4a58fea0f08d4ca5 onefetch-2.14.2.tar.gz " -- GitLab