From b2bc40db6d5620c02edbe353947ce4a049e17043 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 26 Jun 2018 10:32:20 -0300 Subject: [PATCH] units: update to 2.17. --- srcpkgs/units/template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/units/template b/srcpkgs/units/template index 86ee2af4401..03d1a1cf8ce 100644 --- a/srcpkgs/units/template +++ b/srcpkgs/units/template @@ -1,6 +1,6 @@ # Template file for 'units' pkgname=units -version=2.16 +version=2.17 revision=1 build_style=gnu-configure hostmakedepends="python" @@ -8,7 +8,13 @@ makedepends="readline-devel" depends="python python-Unidecode" short_desc="Converts between different units" maintainer="Juan RP " -license="GPL-3" -homepage="http://www.gnu.org/software/units/units.html" +license="GPL-3.0-or-later" +homepage="https://www.gnu.org/software/units/units.html" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=dcf3f78482a13b150fc6bf0f8d611510816a3424bc2b26229b85b1cadeb81686 +checksum=1f03c9f9aef1fb0ccddc6fb545f2925f7754de2bfa67d4e62f8758d7edfd5dd8 + +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 +}