diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/xorg-fonts-75dpi | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/xorg-fonts-75dpi')
-rw-r--r-- | abs/core-testing/xorg-fonts-75dpi/PKGBUILD | 35 | ||||
-rw-r--r-- | abs/core-testing/xorg-fonts-75dpi/xfonts.install | 20 |
2 files changed, 55 insertions, 0 deletions
diff --git a/abs/core-testing/xorg-fonts-75dpi/PKGBUILD b/abs/core-testing/xorg-fonts-75dpi/PKGBUILD new file mode 100644 index 0000000..435c14f --- /dev/null +++ b/abs/core-testing/xorg-fonts-75dpi/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Alexander Baldeck <alexander@archlinux.org> +# Contributor: Jan de Groot <jgc@archlinux.org> +pkgname=xorg-fonts-75dpi +pkgver=1.0.1 +pkgrel=2 +pkgdesc="X.org 75dpi fonts" +arch=(i686 x86_64) +url="http://xorg.freedesktop.org/" +depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig) +groups=('xorg') +install=xfonts.install +source=(${url}/releases/individual/font/font-adobe-75dpi-1.0.0.tar.bz2 + ${url}/releases/individual/font/font-adobe-utopia-75dpi-1.0.1.tar.bz2 + ${url}/releases/individual/font/font-bh-75dpi-1.0.0.tar.bz2 + ${url}/releases/individual/font/font-bh-lucidatypewriter-75dpi-1.0.0.tar.bz2 + ${url}/releases/individual/font/font-bitstream-75dpi-1.0.0.tar.bz2) +md5sums=('813b5d3723c84388a938ab6732e1329c' 'dd912284e4750023f9682812532fa033'\ + '6e51cd02f4ce32e1393e34ab17a9b211' 'fdd9be5b9db94ef363a33e39b7977e2b'\ + 'beb476657d50d07d17eef7c325a5ed08') + +build() { + cd ${startdir}/src + for dir in font-*-75dpi-1.0.0 font-*-75dpi-1.0.1; do + pushd ${dir} + ./configure --prefix=/usr \ + --with-mapfiles=/usr/share/fonts/util \ + --with-fontdir=/usr/share/fonts/75dpi + make || return 1 + make DESTDIR=${startdir}/pkg install || return 1 + popd + done + rm -f ${startdir}/pkg/usr/share/fonts/75dpi/fonts.* +} + diff --git a/abs/core-testing/xorg-fonts-75dpi/xfonts.install b/abs/core-testing/xorg-fonts-75dpi/xfonts.install new file mode 100644 index 0000000..997982b --- /dev/null +++ b/abs/core-testing/xorg-fonts-75dpi/xfonts.install @@ -0,0 +1,20 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/75dpi + mkfontdir /usr/share/fonts/75dpi + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +op=$1 +shift + +$op $* |