summaryrefslogtreecommitdiff
path: root/user/libfs/APKBUILD
blob: fd242d2f089a40b9932383f2dd9929c1e92490ec (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libfs
pkgver=1.0.7
pkgrel=0
pkgdesc="X11 Font Server client library"
url="https://www.X.Org/"
arch="all"
license="X11"
depends="xtrans"
depends_dev="util-macros"
makedepends="$depends_dev xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/lib/libFS-$pkgver.tar.bz2"
builddir="$srcdir/libFS-$pkgver"

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="3596e87710c14706ab345377799e9b2dbab79500fd75b4213f9615bf7db7df3265b4dbc65fdeca9d32343b848013780cfa1a43e76229665ce80246332bb8b96f  libFS-1.0.7.tar.bz2"