db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / xorg-fonts-100dpi / trunk / PKGBUILD
blobab9a3029947324dffda0c59fed1c9255fbd3fa05
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-fonts-100dpi
5 pkgver=1.0.4
6 pkgrel=2
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.4.tar.xz{,.sig}
15         ${url}/releases/individual/font/font-adobe-utopia-100dpi-1.0.5.tar.xz{,.sig}
16         ${url}/releases/individual/font/font-bh-100dpi-1.0.4.tar.xz{,.sig}
17         ${url}/releases/individual/font/font-bh-lucidatypewriter-100dpi-1.0.4.tar.xz{,.sig}
18         ${url}/releases/individual/font/font-bitstream-100dpi-1.0.4.tar.xz{,.sig})
19 sha512sums=('fedb86672c3b9cb624ee5d74d1d710f21d92c2d48a1fcf0a45b54b3f992f6f5599fc271d38a7e25ef123b64d405fa60a3d46883fe7a9d71ebad83c9b418f8383'
20             'SKIP'
21             '9685d66de107ab3142aa9322bbded20f4f538d7bcd8c97bfb4db8eb1fc440724b0c7574ee8b4b5e96c81044c8ee4da175dd638f03dc3e1e650200fdf7b8a169b'
22             'SKIP'
23             '5fe2a24df0d0e9109f1c1cb2556f4cdbf07cc16441e565333f01a00815dd4555b6ef0dd689ef3196ddb76db7480bca8f0b501d4244262d6c64d4751d75503b44'
24             'SKIP'
25             '31a4d061430089c5523815dde7d7cf73c9cba768ab79004eb65af8a1684fdd57d0829d9f4249c8e542e733266cc5f83e38eff403423a77a06af15008ce95d2ab'
26             'SKIP'
27             '1389681eee8b9e2bbfe0293b0aa1add7c6fa86149ff3cb779195ddcc548b1a519336c2d43b6988c899dc09d44ca30de9ffb5daca24fc3906694ab0fd391eb437'
28             'SKIP')
29 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
31 build() {
32   cd "${srcdir}"
33   for dir in font-*-100dpi*; do
34     if [ -d "${dir}" ]; then
35       pushd ${dir}
36       ./configure --prefix=/usr \
37           --with-fontdir=/usr/share/fonts/100dpi
38       make
39       popd
40     fi
41   done
44 package() {
45   cd "${srcdir}"
46   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
47   for dir in font-*-100dpi*; do
48     if [ -d "${dir}" ]; then
49       pushd ${dir}
50       make DESTDIR="${pkgdir}" install
51       install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-100dpi-*}"
52       popd
53     fi
54   done
55   rm -f "${pkgdir}"/usr/share/fonts/100dpi/fonts.*