summaryrefslogtreecommitdiffstats
path: root/x11/font-jis-misc/APKBUILD
blob: b19caf81bd613ccc8fc6485482a9d990bb9774e7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-jis-misc
pkgver=1.0.0
pkgrel=1
pkgdesc="X.org misc font"
url="http://xorg.freedesktop.org/"
license="custom"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends="pkgconfig font-util-dev bdftopcf"
install="$pkgname.post-install $pkgname.post-upgrade"
source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2
	$install"

build() { 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--with-mapfiles=/usr/share/fonts/util \
		--with-fontdir=/usr/share/fonts/misc
	make || return 1
	make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}

md5sums="61febb49a71065723a1fba17cbf23c67  font-jis-misc-1.0.0.tar.bz2
ccf8ff4d45ebd2be8d6d05882d02cfeb  font-jis-misc.post-install
ccf8ff4d45ebd2be8d6d05882d02cfeb  font-jis-misc.post-upgrade"