void-packages/srcpkgs/fcft/template
Isaac Freund 682ccfd99c New package: fcft-2.2.2
Looks like the license file was missing from 2.2.2 but has since been
added to the master branch, so pull it from there.
2020-07-26 20:07:40 -04:00

32 lines
948 B
Bash

# Template file for 'fcft'
pkgname=fcft
version=2.2.2
revision=1
wrksrc=$pkgname
build_style=meson
hostmakedepends="pkg-config scdoc"
makedepends="fontconfig-devel freetype-devel pixman-devel tllist"
short_desc="Simple library for font loading and glyph rasterization"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://codeberg.org/dnkl/fcft"
distfiles="${homepage}/archive/${version}.tar.gz
${homepage}/raw/branch/master/LICENSE"
checksum="9bc54b5ccb637f6c8270697c886e3e86cb4ffb6042b1d4a32eaaee854fb0837d
d534a23a31500a0ac958d9634b84f532bd73ff1aca1bb8f7debbcbebc16ff39a"
skip_extraction=LICENSE
post_install() {
vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE
}
fcft-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}