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