Commit 7bf747d5 authored by Natanael Copa's avatar Natanael Copa

x11/font-adobe-75dpi: new aport

parent 16432597
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-adobe-75dpi
pkgver=1.0.0
pkgrel=0
pkgdesc="X.org adobe 75dpi font"
url="http://xorg.freedesktop.org/"
license="custom"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends="pkgconfig font-util-dev bdftopcf"
install="$pkgname.post-install $pkgname.post-upgrade"
source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2
$install"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--with-mapfiles=/usr/share/fonts/util \
--with-fontdir=/usr/share/fonts/75dpi
make || return 1
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="813b5d3723c84388a938ab6732e1329c font-adobe-75dpi-1.0.0.tar.bz2
a24308692d7112b79a5a188c0b5c2e41 font-adobe-75dpi.post-install
a24308692d7112b79a5a188c0b5c2e41 font-adobe-75dpi.post-upgrade"
#!/bin/sh
echo -n "Updating font cache (TODO: implement triggers in apk)... "
fc-cache -f > /dev/null
mkfontscale /usr/share/fonts/75dpi
mkfontdir /usr/share/fonts/75dpi
echo "done."
font-adobe-75dpi.post-install
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment