void-packages/srcpkgs/font-libertine-ttf/template

37 lines
1.1 KiB
Bash

# Template file for 'font-libertine-ttf'
pkgname=font-libertine-ttf
version=5.3.0
revision=1
_date=2012_07_02
archs=noarch
create_wrksrc=yes
depends="font-util xbps-triggers"
short_desc="Libertine TTF Fonts - Libre multilingual font family"
maintainer="Pascal Vanier <pascal.vanier@gmail.com>"
license="OFL-1.1"
homepage="http://libertine-fonts.org/"
distfiles="${SOURCEFORGE_SITE}/project/linuxlibertine/linuxlibertine/${version}/LinLibertineTTF_${version}_${_date}.tgz
${SOURCEFORGE_SITE}/project/linuxlibertine/linuxlibertine/${version}/LinLibertineOTF_${version}_${_date}.tgz"
checksum="24a593a949808d976850131a953c0c0d7a72299531dfbb348191964cc038d75d
3eb84d13e59d390a3f0b15f93bbb590de693dd5f29c4e8083317dbbadf6fb985"
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vcopy *.ttf usr/share/fonts/TTF
vmkdir usr/share/fonts/OTF
vcopy *.otf usr/share/fonts/OTF
}
font-libertine-otf_package() {
archs=noarch
depends="font-util xbps-triggers"
short_desc="Libertine OTF Fonts - Libre multilingual font family"
font_dirs="/usr/share/fonts/OTF"
pkg_install() {
vmove usr/share/fonts/OTF
}
}