aboutsummaryrefslogtreecommitdiffstats
path: root/main/font-alias/APKBUILD
blob: 8dbe89d8bb8eba6a894dd3d1969298e2bc23b3a3 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-alias
pkgver=1.0.3
pkgrel=1
pkgdesc="X.org font alias files"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
depends=""
makedepends="util-macros"
source="http://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir"/$pkgname-$pkgver

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

prepare() {
	update_config_sub
	default_prepare
}

build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-fontrootdir=/usr/share/fonts
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="05abfef4615722d8cf3f21ab1118494522553a75427140d9753b3d312f404735c20766ceacc1b53f9e783ea25ec8f2f6bdb8696525a4962afe29f524ed8b6552  font-alias-1.0.3.tar.bz2"