archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xorg-mkfontdir / repos / extra-any / PKGBUILD
blob2e66bd0bb6ad8bd13e2d9200b8df9461ce5a56fd
1 # $Id$
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-mkfontdir
5 pkgver=1.0.7
6 pkgrel=9
7 pkgdesc="Create an index of X font files in a directory"
8 arch=(any)
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
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
16         xorg-mkfontdir.hook
17         xorg-mkfontdir.script)
18 sha256sums=('56d52a482df130484e51fd066d1b6eda7c2c02ddbc91fe6e2be1b9c4e7306530'
19             '4b43af2f2683aad73ddc01b862a3a3744a2c74c1a8697daaba31a4350d407c02'
20             '06c60e3e46a76b5300c3224cea6b5094556ea712a08ff9a0103be2eb58d222b5')
22 build() {
23   cd mkfontdir-${pkgver}
24   ./configure --prefix=/usr
25   make
28 package() {
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"