diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-27 20:08:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-27 20:08:35 +0000 |
commit | 52e18ad5e923c75d584a2339417f79af5b359e7f (patch) | |
tree | 321ee15b0cc42e1349349eb94f68796a928b0fb5 /x11/font-adobe-utopia-100dpi | |
parent | 918b0c76030e330c520e2c72e4aa3254afcb622a (diff) | |
download | aports-52e18ad5e923c75d584a2339417f79af5b359e7f.tar.bz2 aports-52e18ad5e923c75d584a2339417f79af5b359e7f.tar.xz |
x11/*-100dpi: new aports for 100dpi fonts
Diffstat (limited to 'x11/font-adobe-utopia-100dpi')
3 files changed, 34 insertions, 0 deletions
diff --git a/x11/font-adobe-utopia-100dpi/APKBUILD b/x11/font-adobe-utopia-100dpi/APKBUILD new file mode 100644 index 000000000..adddf48da --- /dev/null +++ b/x11/font-adobe-utopia-100dpi/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=font-adobe-utopia-100dpi +pkgver=1.0.1 +pkgrel=0 +pkgdesc="X.org adobe 100dpi 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/100dpi + make || return 1 + make -j1 DESTDIR="$pkgdir" install || return 1 +} + +md5sums="5d28a30efef966f8dbbaff9a6619f01a font-adobe-utopia-100dpi-1.0.1.tar.bz2 +8212908634d4a7ad9cd52486f2ba2cde font-adobe-utopia-100dpi.post-install +8212908634d4a7ad9cd52486f2ba2cde font-adobe-utopia-100dpi.post-upgrade" diff --git a/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-install b/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-install new file mode 100644 index 000000000..279e9e004 --- /dev/null +++ b/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-install @@ -0,0 +1,8 @@ +#!/bin/sh + +echo -n "Updating font cache (TODO: implement triggers in apk)... " +fc-cache -f > /dev/null +mkfontscale /usr/share/fonts/100dpi +mkfontdir /usr/share/fonts/100dpi +echo "done." + diff --git a/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-upgrade b/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-upgrade new file mode 120000 index 000000000..b433f3f3b --- /dev/null +++ b/x11/font-adobe-utopia-100dpi/font-adobe-utopia-100dpi.post-upgrade @@ -0,0 +1 @@ +font-adobe-utopia-100dpi.post-install
\ No newline at end of file |