fntsample: don't move distfile

This commit is contained in:
Piraty 2021-01-18 10:32:57 +01:00
parent 35cac24b71
commit 6444245fca

View file

@ -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() {