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.
This commit is contained in:
Isaac Freund 2020-07-25 23:52:02 +02:00 committed by Andrew J. Hesford
parent 9b2fd82d6f
commit 682ccfd99c
3 changed files with 34 additions and 0 deletions

View File

@ -3975,3 +3975,4 @@ libtexlua53.so.5 texlive-LuaTeX-20200406_1
libptexenc.so.1 texlive-20200406_1
libdolphinvcs.so.5 dolphin-20.04.3_1
libcglm.so.0 cglm-0.7.6_1
libfcft.so.3 fcft-2.2.2_1

1
srcpkgs/fcft-devel Symbolic link
View File

@ -0,0 +1 @@
fcft

32
srcpkgs/fcft/template Normal file
View File

@ -0,0 +1,32 @@
# 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
}
}