1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-mkfontscale
7 pkgdesc="Create an index of scalable font files for X"
9 url="https://xorg.freedesktop.org/"
11 install=xorg-mkfontscale.install
12 depends=('freetype2' 'libfontenc')
13 makedepends=('xorg-util-macros' 'xorgproto')
14 groups=('xorg-apps' 'xorg')
15 provides=('xorg-mkfontdir')
16 conflicts=('xorg-mkfontdir')
17 replaces=('xorg-mkfontdir')
18 source=(https://xorg.freedesktop.org/archive/individual/app/mkfontscale-${pkgver}.tar.bz2{,.sig}
20 xorg-mkfontscale.script)
21 sha512sums=('4d243160e1f7f8dfa6a8f53349c1a42a55fc99426455ebdef58352c5e951fce8b4f1fbd1061a76c9a148095b002eac372db1ae5e2647d2ccb4886635b317b18c'
23 '3c42bd72d88200a63159e84f8b04045aaf5c176ef98711a4196fad92a96467103368212e13571a8eeef929b2c7affe6c40797f67596fccc955750dcf7c1b3646'
24 '2a53d38c85b962eaee534f6f3fad4122412a7200c6787fd8216eb191904e2e3727400606a73d6f09017016f6c1360e5148afbb8fbe16e35c5e5cd55dec635387')
25 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
28 cd "${srcdir}/mkfontscale-${pkgver}"
29 ./configure --prefix=/usr
34 cd "${srcdir}/mkfontscale-${pkgver}"
35 make DESTDIR="${pkgdir}" install
36 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
37 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
39 install -Dm644 ../xorg-mkfontscale.hook "${pkgdir}/usr/share/libalpm/hooks/xorg-mkfontscale.hook"
40 install -D ../xorg-mkfontscale.script "${pkgdir}/usr/share/libalpm/scripts/xorg-mkfontscale"