void-packages/srcpkgs/libXft/template

30 lines
814 B
Bash

# Template file for 'libXft'
pkgname=libXft
version=2.3.8
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXrender-devel freetype-devel fontconfig-devel"
short_desc="Library for configuring and customizing font access"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://gitlab.freedesktop.org/xorg/lib/libxft"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
checksum=5e8c3c4bc2d4c0a40aef6b4b38ed2fb74301640da29f6528154b5009b1c6dd49
post_install() {
vlicense COPYING
}
libXft-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}