mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
Merge pull request #1698 from mattiasgiese/font-foo
new package: ttf and otf versions of source-code-pro
This commit is contained in:
commit
f937dcd0e9
1 changed files with 22 additions and 0 deletions
22
srcpkgs/font-sourcecodepro/template
Normal file
22
srcpkgs/font-sourcecodepro/template
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Template file for 'font-sourcecodepro'
|
||||||
|
pkgname=font-sourcecodepro
|
||||||
|
version=1.017R
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc=source-code-pro-${version}
|
||||||
|
hostmakedepends="unzip"
|
||||||
|
depends="font-util xbps-triggers>=0.58"
|
||||||
|
font_dirs="/usr/share/fonts/OTF /usr/share/fonts/TTF"
|
||||||
|
short_desc="Monospaced font family for user interface and coding environments"
|
||||||
|
maintainer="Mattias Giese <mattias@s99.be>"
|
||||||
|
homepage="http://adobe-fonts.github.io/source-code-pro/"
|
||||||
|
license="OFL-1.1"
|
||||||
|
distfiles="https://github.com/adobe-fonts/source-code-pro/archive/${version}.zip"
|
||||||
|
checksum=6753300ddc8f7c1e40bb64e3b0842ba0abcafa3cb92889d7c7a1ba2c8b0dfa82
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir usr/share/fonts/TTF
|
||||||
|
vmkdir usr/share/fonts/OTF
|
||||||
|
install -m644 ${wrksrc}/TTF/*.ttf ${DESTDIR}/usr/share/fonts/TTF
|
||||||
|
install -m644 ${wrksrc}/OTF/*.otf ${DESTDIR}/usr/share/fonts/OTF
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue