db-move: moved firefox-i18n from [testing] to [extra] (any)
[arch-packages.git] / xorg-fonts-encodings / trunk / PKGBUILD
bloba88415a066c2514da296de24e63529b168ba0bc9
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-fonts-encodings
5 pkgver=1.0.7
6 pkgrel=1
7 pkgdesc="X.org font encoding files"
8 arch=(any)
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 makedepends=('xorg-mkfontscale' 'xorg-util-macros' 'xorg-font-util')
12 groups=('xorg-fonts' 'xorg')
13 options=(!makeflags)
14 source=(${url}/releases/individual/font/encodings-${pkgver}.tar.xz{,.sig})
15 sha512sums=('dc72982b14e5d89fe1eff1ab11f308796c89255a06337d8cd6bf65757f11dd0a5478b41d844793213db8fe9638389734f148abe9df9fb05027ea563dacde6ba8'
16             'SKIP')
17 #validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
20 build() {
21   cd encodings-${pkgver}
22   ./configure --prefix=/usr
23   make
26 package() {
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 .