summaryrefslogtreecommitdiff
path: root/user/font-cursor-misc/APKBUILD
blob: f5b870917729aa89cd8f288339fd43a4bbffc098 (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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=font-cursor-misc
pkgver=1.0.3
pkgrel=4
pkgdesc="X11 cursor fonts"
url="https://www.X.Org/"
arch="noarch"
license="Public-Domain"
depends="encodings font-alias fontconfig mkfontscale"
makedepends="bdftopcf font-util-dev util-macros"
subpackages=""
source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

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

sha512sums="7ecb7f1c3c11da8b81fc0ff121fa6c1026b11f6c7878ffd0e4959df036511bc579d6b0552422ce13e26a8d188e3406631d2de55cab6b29bc7fce0416a8cffc83  font-cursor-misc-1.0.3.tar.bz2"