archrelease: copy trunk to testing-x86_64
[arch-packages.git] / xorg-fonts-type1 / trunk / PKGBUILD
blobcccc4cb348174ee45f95b85665236165040b458c
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-fonts-type1
5 pkgver=1.0.4
6 epoch=1
7 pkgrel=1
8 pkgdesc="X.org Type1 fonts"
9 arch=(any)
10 license=('custom')
11 url="https://xorg.freedesktop.org/"
12 makedepends=('xorg-util-macros' 'xorg-mkfontscale')
13 source=(${url}/releases/individual/font/font-adobe-utopia-type1-1.0.5.tar.xz{,.sig}
14         ${url}/releases/individual/font/font-bh-type1-${pkgver}.tar.xz{,.sig}
15         ${url}/releases/individual/font/font-bitstream-type1-${pkgver}.tar.xz{,.sig}
16         ${url}/releases/individual/font/font-ibm-type1-${pkgver}.tar.xz{,.sig}
17         ${url}/releases/individual/font/font-xfree86-type1-1.0.5.tar.xz{,.sig})
18 sha512sums=('e30f4c7702f47a3a42206975fbcfec058317681956d246411e50e372b669bdc875c5d7fe28bad7d298bc61b71a997c7836fb6ac16effd223a96723a6e9ece649'
19             'SKIP'
20             '06b0752b67a8109c0173be2ad4b9623940bc0c55e5854dddfd74c4abf96b4ab2f0e4446325c4d6971011231176f87a06b55e906b7472f371b9824d89e3cbee7f'
21             'SKIP'
22             'f09d60abb88c9be6227c57f5519f08e5e3c59c916183d32a512d3c2ace0047eaad2b377c3725c8987e8b4c55468eb7821322ff5447f000d4c2be6cb909f6219b'
23             'SKIP'
24             '42ebc9f1b0726a9a1bf3d7c8a3b7102a448e7c6ff0c5ac1dd8a4861bf51c344ddb2e077df41b86e3e896100371a33f997d6df834b4d64b835d81a36dfddfbce3'
25             'SKIP'
26             '0a92d911269c5c4d815dfb617bfcc57c3bd54e4cd308eba87f9ec49851369d99dea61950dbd6cdc0f85db92c0c24055da88063b083b4b0cafb3315051bb650ed'
27             'SKIP')
28 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
30 build() {
31   cd "${srcdir}"
32   for dir in *; do
33     if [ -d "${dir}" ]; then
34       pushd "${dir}"
35       ./configure --prefix=/usr \
36         --with-fontdir=/usr/share/fonts/Type1
37       make
38       popd
39     fi
40   done
43 package() {
44   cd "${srcdir}"
45   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
46   for dir in *; do
47     if [ -d "${dir}" ]; then
48       pushd "${dir}"
49       make DESTDIR="${pkgdir}" install
50       install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*}"
51       popd
52     fi
53   done
54   rm -f "${pkgdir}"/usr/share/fonts/Type1/fonts.*