# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xtrans
pkgver=1.4.0
pkgrel=0
pkgdesc="X transport library"
url="https://www.X.Org/"
arch="noarch"
license="X11 AND MIT"
depends=""
makedepends="util-macros xmlto"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

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

sha512sums="4fea89a3455c0e13321cbefa43340016dbb59bdd0dbdb5b796c1a6d2a6b1fd63cf1327b769ab426286b9c54b32ec764a50cd2b46228e4e43b841bda6b94de214  xtrans-1.4.0.tar.bz2"