diff --git a/srcpkgs/marvin/template b/srcpkgs/marvin/template index 3461062d7f4..7009546b88f 100644 --- a/srcpkgs/marvin/template +++ b/srcpkgs/marvin/template @@ -12,7 +12,7 @@ only_for_archs="i686 x86_64" repository=nonfree restricted=yes nostrip=yes -_filename="marvin_linux_$(echo $version | sed 's/.[0-9]*$//g').deb" +_filename="marvin_linux_${version%.*}.deb" distfiles="https://dl.chemaxon.com/marvin/${version}/${_filename}" checksum=f498405166821e6f2f8e75b1357c10fca9b1834cca5ca14d56c7921ed4fb5bcf