From 2d958be1364b6c6685b09e10fbe67c62a73fc5db Mon Sep 17 00:00:00 2001 From: pastries-yay Date: Fri, 11 Sep 2026 13:17:39 +0200 Subject: [PATCH] rink: update to 0.9.0 Also: - Use the system libcurl (previously a bundled one was used) - Follow the project's migration to Codeberg - Install the manpages - Install the desktop entry --- srcpkgs/rink/template | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/srcpkgs/rink/template b/srcpkgs/rink/template index ef00ca26a3bfac..36207b727cb934 100644 --- a/srcpkgs/rink/template +++ b/srcpkgs/rink/template @@ -1,18 +1,29 @@ # Template file for 'rink' pkgname=rink -version=0.8.0 +version=0.9.0 revision=1 build_style=cargo make_install_args="--path cli" -hostmakedepends="pkg-config" -makedepends="openssl-devel" +hostmakedepends="pkg-config ruby-asciidoctor" +makedepends="libcurl-devel openssl-devel" short_desc="Unit-aware calculator and conversion tool" maintainer="Orphaned " license="MPL-2.0, GPL-3.0-only" -homepage="https://github.com/tiffany352/rink-rs" -changelog="https://github.com/tiffany352/rink-rs/releases" -distfiles="https://github.com/tiffany352/rink-rs/archive/refs/tags/v${version}.tar.gz" -checksum=40048e84c2b606e50bf05dec2813acedeb48066cd48537d0dea453a72d000d60 +homepage="https://codeberg.org/tiffany/rink" +changelog="https://codeberg.org/tiffany/rink/releases" +distfiles="https://codeberg.org/tiffany/rink/archive/v${version}.tar.gz" +checksum=1b00544f382d09b21365819305ccc7693812c1a3e039a01078907ac8ea9c8532 + +post_install() { + for i in rink-dates.5 rink-defs.5 rink.1 rink.5 rink.7 + do + asciidoctor -b manpage docs/$i.adoc + vman docs/$i + done + + vinstall cli/rink.desktop 644 usr/share/applications + vinstall web/site/favicon.png 644 usr/share/pixmaps rink.png +} case "$XBPS_TARGET_MACHINE" in ppc64le*) ;;