x11-fonts-dejavu: install and enable fontconfig snippets.
This commit is contained in:
parent
f5d17abadd
commit
463442e624
@ -1,3 +1,19 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/fonts/
|
||||
drwxr-xr-x root/root etc/fonts/conf.avail/
|
||||
-rw-r--r-- root/root etc/fonts/conf.avail/20-unhint-small-dejavu-sans-mono.conf
|
||||
-rw-r--r-- root/root etc/fonts/conf.avail/20-unhint-small-dejavu-sans.conf
|
||||
-rw-r--r-- root/root etc/fonts/conf.avail/20-unhint-small-dejavu-serif.conf
|
||||
-rw-r--r-- root/root etc/fonts/conf.avail/57-dejavu-sans-mono.conf
|
||||
-rw-r--r-- root/root etc/fonts/conf.avail/57-dejavu-sans.conf
|
||||
-rw-r--r-- root/root etc/fonts/conf.avail/57-dejavu-serif.conf
|
||||
drwxr-xr-x root/root etc/fonts/conf.d/
|
||||
lrwxrwxrwx root/root etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf -> ../conf.avail/20-unhint-small-dejavu-sans-mono.conf
|
||||
lrwxrwxrwx root/root etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf -> ../conf.avail/20-unhint-small-dejavu-sans.conf
|
||||
lrwxrwxrwx root/root etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf -> ../conf.avail/20-unhint-small-dejavu-serif.conf
|
||||
lrwxrwxrwx root/root etc/fonts/conf.d/57-dejavu-sans-mono.conf -> ../conf.avail/57-dejavu-sans-mono.conf
|
||||
lrwxrwxrwx root/root etc/fonts/conf.d/57-dejavu-sans.conf -> ../conf.avail/57-dejavu-sans.conf
|
||||
lrwxrwxrwx root/root etc/fonts/conf.d/57-dejavu-serif.conf -> ../conf.avail/57-dejavu-serif.conf
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/fonts/
|
||||
|
@ -4,12 +4,21 @@
|
||||
|
||||
name=x11-fonts-dejavu
|
||||
version=2.30
|
||||
release=1
|
||||
release=2
|
||||
source=(http://dfn.dl.sourceforge.net/sourceforge/dejavu/dejavu-fonts-ttf-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd dejavu-fonts-ttf-$version
|
||||
mkdir -p $PKG/usr/share/fonts/dejavu
|
||||
mkdir -p $PKG/usr/share/fonts/dejavu $PKG/etc/fonts/conf.{d,avail}
|
||||
install -o root -g root -m 0644 ttf/*.ttf \
|
||||
$PKG/usr/share/fonts/dejavu/
|
||||
|
||||
cd fontconfig
|
||||
|
||||
install -o root -g root -m644 *.conf \
|
||||
$PKG/etc/fonts/conf.avail/
|
||||
|
||||
for x in *.conf; do
|
||||
ln -s ../conf.avail/$x $PKG/etc/fonts/conf.d/
|
||||
done
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user