summaryrefslogtreecommitdiff
path: root/user/font-winitzki-cyrillic/APKBUILD
blob: 03e93b01f2be5dc7823d1637026624dbc6642294 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=font-winitzki-cyrillic
pkgver=1.0.3
pkgrel=0
pkgdesc="Cyrillic X11 fonts from Serge Winitzki"
url="https://www.X.Org/"
arch="noarch"
license="Public-Domain"
depends="encodings font-alias fontconfig mkfontdir"
makedepends="bdftopcf util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-winitzki-cyrillic-$pkgver.tar.bz2"

prepare() {
	cd "$builddir"
	default_prepare
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" -name fonts.dir -exec rm {} +
}

sha512sums="f98fa99c1b0e60160b362310a7fe5fd5798aaa686751a6784a697c546ed754e885537eeed39a1f973dbceabc962cb65b39af1d336649381a49feb6df9f23e2b7  font-winitzki-cyrillic-1.0.3.tar.bz2"