aboutsummaryrefslogtreecommitdiffstats
path: root/main/fontsproto/APKBUILD
blob: e362046a8de0efb02a6b1928d41e8956c551dd81 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fontsproto
pkgver=2.1.3
pkgrel=0
pkgdesc="X11 font extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="36934d00b00555eaacde9f091f392f97  fontsproto-2.1.3.tar.bz2"
sha256sums="259046b0dd9130825c4a4c479ba3591d6d0f17a33f54e294b56478729a6e5ab8  fontsproto-2.1.3.tar.bz2"
sha512sums="f46d5b733aa48644aa3aa75d4ed47231ef78cb60f747f7200d82331a1ba566190bf37b5b9926c690dec6356043ce7c85a5b59fc1b4b11667ef432518b5d4cc87  fontsproto-2.1.3.tar.bz2"