archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xorg-fonts-75dpi / trunk / PKGBUILD
blob41213c5579c3ae87fe0136ab607865b04921bc3a
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-fonts-75dpi
5 pkgver=1.0.3
6 pkgrel=7
7 pkgdesc="X.org 75dpi fonts"
8 arch=(any)
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('xorg-fonts-alias-75dpi')
12 makedepends=('xorg-util-macros' 'xorg-mkfontscale' 'xorg-bdftopcf' 'xorg-font-util')
13 groups=('xorg')
14 source=(${url}/releases/individual/font/font-adobe-75dpi-1.0.3.tar.bz2
15         ${url}/releases/individual/font/font-adobe-utopia-75dpi-1.0.4.tar.bz2
16         ${url}/releases/individual/font/font-bh-75dpi-1.0.3.tar.bz2
17         ${url}/releases/individual/font/font-bh-lucidatypewriter-75dpi-1.0.3.tar.bz2
18         ${url}/releases/individual/font/font-bitstream-75dpi-1.0.3.tar.bz2)
19 md5sums=('6c9f26c92393c0756f3e8d614713495b'
20          'e99276db3e7cef6dccc8a57bc68aeba7'
21          '565494fc3b6ac08010201d79c677a7a7'
22          'f6d65758ac9eb576ae49ab24c5e9019a'
23          'd7c0588c26fac055c0dd683fdd65ac34')
25 build() {
26   cd "${srcdir}"
27   for dir in *; do
28     if [ -d "${dir}" ]; then
29       pushd "${dir}"
30       ./configure --prefix=/usr \
31           --with-fontdir=/usr/share/fonts/75dpi
32       make
33       popd
34     fi
35   done
38 package() {
39   cd "${srcdir}"
40   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
41   for dir in *; do
42     if [ -d "${dir}" ]; then
43       pushd "${dir}"
44       make DESTDIR="${pkgdir}" install
45       install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-75dpi-*}"
46       popd
47     fi
48   done
49   rm -f "${pkgdir}"/usr/share/fonts/75dpi/fonts.*