2 # Maintainer: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Create an index of X font files in a directory"
9 url="https://xorg.freedesktop.org/"
11 depends=('bash' 'xorg-mkfontscale')
12 makedepends=('xorg-util-macros')
13 groups=('xorg' 'xorg-apps')
14 install=xorg-mkfontdir.install
15 source=(https://xorg.freedesktop.org/archive/individual/app/mkfontdir-${pkgver}.tar.bz2
17 xorg-mkfontdir.script)
18 sha256sums=('56d52a482df130484e51fd066d1b6eda7c2c02ddbc91fe6e2be1b9c4e7306530'
19 '4b43af2f2683aad73ddc01b862a3a3744a2c74c1a8697daaba31a4350d407c02'
20 '06c60e3e46a76b5300c3224cea6b5094556ea712a08ff9a0103be2eb58d222b5')
23 cd mkfontdir-${pkgver}
24 ./configure --prefix=/usr
29 cd mkfontdir-${pkgver}
30 make DESTDIR="${pkgdir}" install
31 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
32 install -Dm644 ../xorg-mkfontdir.hook "${pkgdir}/usr/share/libalpm/hooks/xorg-mkfontdir.hook"
33 install -D ../xorg-mkfontdir.script "${pkgdir}/usr/share/libalpm/scripts/xorg-mkfontdir"