diff --git a/srcpkgs/font-libertine-otf b/srcpkgs/font-libertine-otf new file mode 120000 index 00000000000..0bb8376bfe2 --- /dev/null +++ b/srcpkgs/font-libertine-otf @@ -0,0 +1 @@ +font-libertine-ttf \ No newline at end of file diff --git a/srcpkgs/font-libertine-ttf/template b/srcpkgs/font-libertine-ttf/template new file mode 100644 index 00000000000..b0521e80e57 --- /dev/null +++ b/srcpkgs/font-libertine-ttf/template @@ -0,0 +1,36 @@ +# 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 " +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 + } +}