2020-07-25 23:52:02 +02:00
|
|
|
# Template file for 'fcft'
|
|
|
|
pkgname=fcft
|
2020-09-02 14:29:23 +02:00
|
|
|
version=2.2.7
|
2020-07-25 23:52:02 +02:00
|
|
|
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"
|
2020-07-29 17:41:59 +02:00
|
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
2020-09-02 14:29:23 +02:00
|
|
|
checksum=d1c6f540bb75a3b66705ff72d2445b2e084cd427ffa62cbe79b7f44047773e96
|
2020-07-25 23:52:02 +02:00
|
|
|
|
|
|
|
post_install() {
|
2020-07-29 17:41:59 +02:00
|
|
|
vlicense LICENSE
|
2020-07-25 23:52:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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"
|
2020-07-29 17:41:59 +02:00
|
|
|
vmove usr/share/doc
|
2020-07-25 23:52:02 +02:00
|
|
|
vmove usr/share/man/man3
|
2020-07-29 17:41:59 +02:00
|
|
|
|
|
|
|
# The license is already installed by the base package
|
|
|
|
rm ${PKGDESTDIR}/usr/share/doc/${sourcepkg}/LICENSE
|
2020-07-25 23:52:02 +02:00
|
|
|
}
|
|
|
|
}
|