summaryrefslogtreecommitdiff
path: root/libre/xorg-fonts-75dpi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/xorg-fonts-75dpi/PKGBUILD')
-rw-r--r--libre/xorg-fonts-75dpi/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/libre/xorg-fonts-75dpi/PKGBUILD b/libre/xorg-fonts-75dpi/PKGBUILD
new file mode 100644
index 000000000..e02711ab5
--- /dev/null
+++ b/libre/xorg-fonts-75dpi/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 71681 2010-03-08 12:06:26Z jgc $
+# Maintainer (Arch): Alexander Baldeck <alexander@archlinux.org>
+# Contributor (Arch): Jan de Groot <jgc@archlinux.org>
+pkgname=xorg-fonts-75dpi
+pkgver=1.0.3
+pkgrel=2.parabola1
+pkgdesc="X.org 75dpi fonts"
+arch=(any)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig)
+groups=('xorg')
+conflicts=('xorg-fonts-75dpi-libre')
+replaces=('xorg-fonts-75dpi-libre')
+install=xfonts.install
+source=(${url}/releases/individual/font/font-adobe-75dpi-$pkgver.tar.bz2
+ ${url}/releases/individual/font/font-bitstream-75dpi-$pkgver.tar.bz2)
+
+build() {
+ cd "${srcdir}"
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ for dir in *; do
+ if [ -d "${dir}" ]; then
+ pushd "${dir}"
+ ./configure --prefix=/usr \
+ --with-fontdir=/usr/share/fonts/75dpi || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" install || return 1
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-75dpi-*}" || return 1
+ popd
+ fi
+ done
+ rm -f "${pkgdir}"/usr/share/fonts/75dpi/fonts.*
+}
+md5sums=('6c9f26c92393c0756f3e8d614713495b'
+ 'd7c0588c26fac055c0dd683fdd65ac34')