1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-fonts-encodings
7 pkgdesc="X.org font encoding files"
9 url="https://xorg.freedesktop.org/"
11 makedepends=('xorg-mkfontscale' 'xorg-util-macros' 'xorg-font-util')
12 groups=('xorg-fonts' 'xorg')
14 source=(${url}/releases/individual/font/encodings-${pkgver}.tar.xz{,.sig})
15 sha512sums=('dc72982b14e5d89fe1eff1ab11f308796c89255a06337d8cd6bf65757f11dd0a5478b41d844793213db8fe9638389734f148abe9df9fb05027ea563dacde6ba8'
17 #validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
21 cd encodings-${pkgver}
22 ./configure --prefix=/usr
27 cd encodings-${pkgver}
28 make DESTDIR="${pkgdir}" install
29 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
31 # regenerate encodngs file not to include non-compressed versions
32 cd "$pkgdir"/usr/share/fonts/encodings/large
33 mkfontscale -b -s -l -n -r -p /usr/share/fonts/encodings/large -e . .
34 cd "$pkgdir"/usr/share/fonts/encodings/
35 mkfontscale -b -s -l -n -r -p /usr/share/fonts/encodings -e . -e large .