blob: 2230adddfd2f3f646e82d488bcd5881d2437ff96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkfontdir
pkgver=1.0.7
pkgrel=1
pkgdesc="create an index of X font files in a directory"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
options="!check" # No test suite.
subpackages="$pkgname-doc"
depends="mkfontscale"
makedepends="util-macros"
install=
triggers="$pkgname.trigger=/usr/share/fonts/*"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
prepare() {
cd "$builddir"
update_config_sub
default_prepare
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="96d1920565514f90621e18a87fb5a2db9e052d1bffc6552d9659e065a21e252ab98b4e62013755032b98ed6d8c3381eb75c3c8e02651766ee4791ca622dcef1f mkfontdir-1.0.7.tar.bz2"
|