# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xfs
pkgver=1.2.0
pkgrel=0
pkgdesc="The X11 Font Server"
url="https://www.X.Org/"
arch="all"
license="X11"
depends="xtrans"
makedepends="libxfont2-dev util-macros xmlto xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xfs-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="557b08aa07919239ce345d60b288b886640200bb1a59649fc890c3ccaa8559cc6745189614e696ab1b390ec024b393be5493787b7b0d2b3545b342d743c2e0ef  xfs-1.2.0.tar.bz2"