2012-08-21 11:24:03 +02:00
|
|
|
# Description: A font family based on the Bitstream Vera Fonts
|
2020-03-21 12:23:12 +01:00
|
|
|
# URL: https://dejavu-fonts.github.io/
|
|
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
|
|
|
# Depends on: fontconfig xorg-mkfontscale
|
2012-08-21 11:24:03 +02:00
|
|
|
|
|
|
|
name=xorg-font-dejavu-ttf
|
2020-03-21 12:23:12 +01:00
|
|
|
version=2.37
|
2012-08-21 11:24:03 +02:00
|
|
|
release=1
|
2013-06-17 15:28:02 +02:00
|
|
|
source=(http://downloads.sourceforge.net/project/dejavu/dejavu/$version/dejavu-fonts-ttf-$version.tar.bz2)
|
2012-08-21 11:24:03 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd dejavu-fonts-ttf-$version
|
|
|
|
|
2015-08-26 04:58:44 +02:00
|
|
|
install -m 0755 -d $PKG/usr/share/fonts/X11/TTF
|
|
|
|
install -m 0644 -t $PKG/usr/share/fonts/X11/TTF ttf/*.ttf
|
|
|
|
|
|
|
|
install -m 0755 -d $PKG/etc/fonts/conf.{d,avail}
|
|
|
|
install -m 0644 -t $PKG/etc/fonts/conf.avail fontconfig/*.conf
|
2012-08-21 11:24:03 +02:00
|
|
|
|
|
|
|
cd $PKG/etc/fonts/conf.d
|
|
|
|
ln -s ../conf.avail/* .
|
|
|
|
}
|