diff --git a/srcpkgs/fntsample/template b/srcpkgs/fntsample/template index 6013ccbd658..8931dc8eb4e 100644 --- a/srcpkgs/fntsample/template +++ b/srcpkgs/fntsample/template @@ -1,6 +1,6 @@ # Template file for 'fntsample' pkgname=fntsample -version=5.2 +version=5.3 revision=1 build_style=cmake configure_args="-DUNICODE_BLOCKS=../Blocks.txt" @@ -14,17 +14,17 @@ changelog="https://raw.githubusercontent.com/eugmes/fntsample/master/ChangeLog" distfiles="https://github.com/eugmes/fntsample/archive/release/${version}.tar.gz https://unicode.org/Public/11.0.0/ucd/Blocks.txt https://unicode.org/terms_of_use.html" -skip_extraction="Blocks.txt - terms_of_use.html" -checksum="f5d6da0ea61235b050e3b3334349c2545786e18da23d4ef9ff0a0b4ca6e7f0cb +checksum="e4e8b50b0a5e984cfdaa32b7d133bd3bf0c62edb14f752f7df1190176023972b 0b457b66c788a97c8521e265f0b793d4ed911356d39eb61029f9cef8554cd052 341d64a621d779d29ed33b771798a0bc5c2acf88f28a00f355d0f70c14fe8a06" +skip_extraction="Blocks.txt + terms_of_use.html" post_extract() { - mv ${XBPS_BUILDDIR}/fntsample-release-${version} ${wrksrc} - mv ${XBPS_SRCDISTDIR}/${pkgname}-${version}/Blocks.txt ${wrksrc}/ + mv "${XBPS_BUILDDIR}/fntsample-release-${version}" "${wrksrc}" + mv "${XBPS_SRCDISTDIR}/fntsample-${version}/Blocks.txt" "${wrksrc}/" } post_install() { - vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/terms_of_use.html + vlicense "${XBPS_SRCDISTDIR}/fntsample-${version}/terms_of_use.html" } diff --git a/srcpkgs/fntsample/update b/srcpkgs/fntsample/update new file mode 100644 index 00000000000..b3e6fa03daa --- /dev/null +++ b/srcpkgs/fntsample/update @@ -0,0 +1 @@ +pattern='/archive/(release/|v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")'