Commit ba3bbdb6 authored by Natanael Copa's avatar Natanael Copa

x11/font-bitstream-75dpi: new aport

parent 6dd7082b
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-bitstream-75dpi
pkgver=1.0.0
pkgrel=0
pkgdesc="X.Org Bitstream bitmap fonts"
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="beb476657d50d07d17eef7c325a5ed08 font-bitstream-75dpi-1.0.0.tar.bz2
a24308692d7112b79a5a188c0b5c2e41 font-bitstream-75dpi.post-install
a24308692d7112b79a5a188c0b5c2e41 font-bitstream-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-bitstream-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