31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
# Template file for 'fntsample'
|
|
pkgname=fntsample
|
|
version=5.3
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DUNICODE_BLOCKS=../Blocks.txt"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="cairo-devel fontconfig-devel freetype-devel glib-devel pango-devel"
|
|
short_desc="PDF and PostScript font samples generator"
|
|
maintainer="svenper <svenper@tuta.io>"
|
|
license="GPL-3.0-or-later, BSD-3-Clause"
|
|
homepage="https://github.com/eugmes/fntsample"
|
|
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"
|
|
checksum="e4e8b50b0a5e984cfdaa32b7d133bd3bf0c62edb14f752f7df1190176023972b
|
|
0b457b66c788a97c8521e265f0b793d4ed911356d39eb61029f9cef8554cd052
|
|
8dbfc5f338f58b539a98b1323cbec5a6f1835ae8dc665d0cca4d84cd19458577"
|
|
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}/"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense "${XBPS_SRCDISTDIR}/fntsample-${version}/terms_of_use.html"
|
|
}
|