summaryrefslogtreecommitdiff
path: root/user/font-misc-cyrillic/APKBUILD
blob: 5ec5c4d84179ef0f82440fec4eca92b213387766 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=font-misc-cyrillic
pkgver=1.0.3
pkgrel=0
pkgdesc="Cyrillic X11 fonts"
url="https://www.X.Org/"
arch="noarch"
license="MIT AND Public-Domain"
depends="encodings font-alias fontconfig"
makedepends="bdftopcf mkfontdir util-macros"
subpackages=""
source="https://www.x.org/releases/individual/font/font-misc-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
}

sha512sums="75e49cdb633f7ce5b9612d5adb0a85471c8fde5d55e8ccd9302f79f01e99e78b02449642c2cf785289f58d833bfa62042fce4253093fb17c87471559d1f9bdbf  font-misc-cyrillic-1.0.3.tar.bz2"