diff --git a/srcpkgs/units/template b/srcpkgs/units/template index 86ee2af440..03d1a1cf8c 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 +}