gthumb: simplify

This commit is contained in:
Michael Gehring 2017-10-01 18:44:25 +00:00
parent 7b419bc620
commit d6a00f9bd1

View File

@ -17,8 +17,7 @@ short_desc='An image viewer and browser for the GNOME Desktop'
maintainer="Enguerrand de Rochefort <voidlinux@rochefort.de>"
homepage="http://live.gnome.org/gthumb"
license="GPL-3"
version_dir="$(echo $version | grep -o '^[1-9]\.[0-9]\+')"
distfiles="$GNOME_SITE/${pkgname}/${version_dir}/${pkgname}-${version}.tar.xz"
distfiles="$GNOME_SITE/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=816fc63ba9cfc397ea8c9a4d21870051813aa4d97383f3d3ae74cb3ea8235746
## Package build options