db-move: moved polari from [testing] to [extra] (x86_64)
[arch-packages.git] / xorg-fonts-cyrillic / trunk / PKGBUILD
blobd4322e67aa5dc05e05734381d5650546628d7d9f
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-fonts-cyrillic
5 pkgver=1.0.4
6 pkgrel=1
7 pkgdesc="X.org cyrillic fonts"
8 arch=(any)
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('xorg-fonts-alias-cyrillic')
12 makedepends=('xorg-util-macros' 'xorg-mkfontscale' 'xorg-bdftopcf')
13 source=(${url}/releases/individual/font/font-cronyx-cyrillic-${pkgver}.tar.xz{,.sig}
14         ${url}/releases/individual/font/font-misc-cyrillic-${pkgver}.tar.xz{,.sig}
15         ${url}/releases/individual/font/font-screen-cyrillic-1.0.5.tar.xz{,.sig}
16         ${url}/releases/individual/font/font-winitzki-cyrillic-${pkgver}.tar.xz{,.sig})
17 sha512sums=('39c0bfc08ac746fd98a668d7545da503e8413d5d66cdb1884489ed7221fa4f09dad8dc997ca39595113e2f12fd65de6d2bfd8eaf1480aa93d5eb961d2e2f7cff'
18             'SKIP'
19             'fb2102805fedbd04b1533b85abcde79f432b97b72822bcfcdc09f525488d0d0c63815c8c25b79bab864bbe11fa1b72e2c34f5ba7b96eee1b6c84b841bb333353'
20             'SKIP'
21             '9f136fc6f6a3621c4b38302af5396789b1e6558b9b4b1b991624945eb9aac8497a6cd415460abc7dbcbaad1ef8ebd23cacfb3448c6e34cc9ba0726e7973c1a99'
22             'SKIP'
23             '11e366f96abe65aed9fb6fd087b2bd90af9f60548de0cebfeb348262860957a63a997616e00092d312b8ae9c262a7bb52da69c704a27d34018a45b98a87eb158'
24             'SKIP')
25 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
27 build() {
28   cd "${srcdir}"
29   for dir in *; do
30     if [ -d "${dir}" ]; then
31       pushd "${dir}"
32       ./configure --prefix=/usr \
33                       --with-fontdir=/usr/share/fonts/cyrillic
34       make
35       popd
36     fi
37   done
40 package() {
41   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
42   cd "${srcdir}"
43   for dir in *; do
44     if [ -d "${dir}" ]; then
45       pushd "${dir}"
46       make DESTDIR="${pkgdir}" install
47       install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${dir%-*}"
48       popd
49     fi    
50   done
51   rm -f "${pkgdir}"/usr/share/fonts/*/fonts.*