diff --git a/srcpkgs/fntsample/template b/srcpkgs/fntsample/template index 4c8488eed1..7abc88b2aa 100644 --- a/srcpkgs/fntsample/template +++ b/srcpkgs/fntsample/template @@ -3,6 +3,7 @@ pkgname=fntsample version=5.3 revision=1 build_style=cmake +wrksrc="fntsample-release-${version}" configure_args="-DUNICODE_BLOCKS=../Blocks.txt" hostmakedepends="gettext pkg-config" makedepends="cairo-devel fontconfig-devel freetype-devel glib-devel pango-devel" @@ -21,8 +22,7 @@ skip_extraction="Blocks.txt terms_of_use.html" post_extract() { - mv "${XBPS_BUILDDIR}/fntsample-release-${version}" "${wrksrc}" - mv "${XBPS_SRCDISTDIR}/fntsample-${version}/Blocks.txt" "${wrksrc}/" + cp "${XBPS_SRCDISTDIR}/fntsample-${version}/Blocks.txt" "${wrksrc}/" } post_install() {