units: update to 2.22.
This commit is contained in:
parent
5b4f46a794
commit
86614c4f23
@ -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 <orphan@voidlinux.org>"
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user