archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xorg-fonts-100dpi / trunk / PKGBUILD
blob742690eacc7e243169cbc209048f1ecad048685c
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-fonts-100dpi
5 pkgver=1.0.3
6 pkgrel=7
7 pkgdesc="X.org 100dpi fonts"
8 arch=('any')
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('xorg-fonts-alias-100dpi')
12 makedepends=('xorg-util-macros' 'xorg-mkfontscale' 'xorg-bdftopcf' 'xorg-font-util')
13 groups=('xorg')
14 source=(${url}/releases/individual/font/font-adobe-100dpi-1.0.3.tar.bz2
15         ${url}/releases/individual/font/font-adobe-utopia-100dpi-1.0.4.tar.bz2
16         ${url}/releases/individual/font/font-bh-100dpi-1.0.3.tar.bz2
17         ${url}/releases/individual/font/font-bh-lucidatypewriter-100dpi-1.0.3.tar.bz2
18         ${url}/releases/individual/font/font-bitstream-100dpi-1.0.3.tar.bz2)
19 md5sums=('1347c3031b74c9e91dc4dfa53b12f143'
20          '66fb6de561648a6dce2755621d6aea17'
21          '9f11ade089d689b9d59e0f47d26f39cd'
22          'c8b73a53dcefe3e8d3907d3500e484a9'
23          '6b223a54b15ecbd5a1bc52312ad790d8')
25 build() {
26   cd "${srcdir}"
27   for dir in font-*-100dpi*; do
28     if [ -d "${dir}" ]; then
29       pushd ${dir}
30       ./configure --prefix=/usr \
31           --with-fontdir=/usr/share/fonts/100dpi
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 font-*-100dpi*; 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%-100dpi-*}"
46       popd
47     fi
48   done
49   rm -f "${pkgdir}"/usr/share/fonts/100dpi/fonts.*