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=('2d52486996939401121bc858ba23031f70eef857760db8da4c84f083e981868e4bc7a8c2ab6d59274a0cf95f592a0dbfad47bce6c9299bb45d115b48abc39134'
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 .