blob: a97db44157beae39f2f3a1cfc46e4fe3d9e84266 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-font-utils
pkgver=1.0.3
pkgrel=3
pkgdesc="X.Org font utilities"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
options=('!libtool')
depends=('libxfont' 'libfontenc' 'xproto')
makedepends=('pkgconfig')
replaces=('font-util')
provides=('font-util')
conflicts=('font-util')
install=xorg-font-utils.install
source=(${url}/releases/individual/app/bdftopcf-1.0.1.tar.bz2
${url}/releases/individual/app/fonttosfnt-1.0.3.tar.bz2
${url}/releases/individual/app/mkfontdir-1.0.3.tar.bz2
${url}/releases/individual/app/mkfontscale-1.0.3.tar.bz2
${url}/releases/individual/font/font-util-1.0.1.tar.bz2
http://people.redhat.com/yshao/ttmkfdir2.20021109.tar.bz2
ttmkfdir.patch
ttmkfdir_gcc43.patch)
build() {
cd ${startdir}/src
for i in *; do
if [ -d "${i}" ]; then
pushd "${i}"
if [ "${i}" = "ttmkfdir2" ]; then
patch -Np0 -i ${startdir}/src/ttmkfdir.patch || return 1
patch -Np1 -i ${startdir}/src/ttmkfdir_gcc43.patch || return 1
make || return 1
mkdir -p ${startdir}/pkg/usr/bin
install -m755 ttmkfdir ${startdir}/pkg/usr/bin/ || return 1
else
./configure --prefix=/usr --with-mapdir=/usr/share/fonts/util
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
fi
popd
fi
done
}
md5sums=('9685fab33d39954ab8a0d22e0969d5a4'
'b0ebd86029571239b9d7b0c61191b591'
'4d0f89a23f77e22f1671a77bf0898955'
'1d608771aca9695b828cec1e34178fd1'
'b81535f78fe05732931f02841e5ca37b'
'79e0401393c9728865aa73bb2bd68dd4'
'099278628ad63631e872bc5590bade74'
'43cd6303d38dbbf36ba91d3a08430bb4')
|