units: update to 2.17.

This commit is contained in:
maxice8 2018-06-26 10:32:20 -03:00
parent 36a3eedae9
commit b2bc40db6d

View file

@ -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 <xtraeme@voidlinux.eu>"
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
}