blob: 8e98ce1e5ebce884e5d4eac723d96a8ac1a2f6e2 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bdftopcf
pkgver=1.0.4
pkgrel=0
pkgdesc="X.Org font utility"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
depends=""
makedepends="libxfont-dev"
install=""
subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org//releases/individual/app/bdftopcf-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
find -name config.sub | xargs chmod u+w
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--with-mapdir=/usr/share/fonts/util \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="96a648a332160a7482885800f7a506fa bdftopcf-1.0.4.tar.bz2"
sha256sums="eaf59057ba3d7cffe29526562ce50868da7da823487a4cfb3e16946e5ffd2798 bdftopcf-1.0.4.tar.bz2"
sha512sums="af18bd3a68d4811ab70f69fa7e871ca87650a4a28e13567db5ed40cba6a0c8006928ad5828dcc16a624bc38917f53bcf7470f3b1b3b2fca0379ecf03114a3a52 bdftopcf-1.0.4.tar.bz2"
|