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