From 86614c4f23364c60f61df72820feb17f9948b792 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 7 Jul 2023 15:26:50 +0200 Subject: [PATCH] units: update to 2.22. --- srcpkgs/units/template | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/srcpkgs/units/template b/srcpkgs/units/template index 107d078196f..fb4a011bdda 100644 --- a/srcpkgs/units/template +++ b/srcpkgs/units/template @@ -1,8 +1,9 @@ # Template file for 'units' pkgname=units -version=2.21 +version=2.22 revision=1 build_style=gnu-configure +configure_args="--sharedstatedir=/usr/share" hostmakedepends="python3" makedepends="readline-devel" depends="python3 python3-Unidecode" @@ -11,11 +12,5 @@ maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://www.gnu.org/software/units/units.html" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=6c3e80a9f980589fd962a5852a2674642257db1c5fd5b27c4d9e664f3486cbaf +checksum=5d13e1207721fe7726d906ba1d92dc0eddaa9fc26759ed22e3b8d1a793125848 python_version=3 - -post_install() { - # Tries to install to /usr/com/currency.units - rm -f -- "${DESTDIR}"/usr/share/units/currency.units - mv "${DESTDIR}"/usr/com/units/currency.units "${DESTDIR}"/usr/share/units/currency.units -}