summaryrefslogtreecommitdiff
path: root/user/font-cursor-misc/APKBUILD
blob: 56ffa3838fee29b3aa27389b6618f0f5c4d2d3ff (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.4
pkgrel=0
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.xz"

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="22bd86a81cdfb1e17f885dc3961071c08920171a6f0736ae52d95c8e576b1debc7570aa3b7e1007f474b50435fba411f0eb1847894e8b52f6e6268d91cf9f2db  font-cursor-misc-1.0.4.tar.xz"