682ccfd99c
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.
32 lines
948 B
Bash
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
|
|
}
|
|
}
|