# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xlogo
pkgver=1.0.5
pkgrel=0
pkgdesc="Display the X11 logo"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libsm-dev libx11-dev libxaw-dev libxext-dev libxmu-dev libxt-dev
	util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xlogo-$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="0d78e269b0be3c5de71de7f362b896bfd9934ecd9d0361b3302399b1269e029c4a9f35418d792121a1edc34405d753f9d69c996cc3a69ac717f2b0d1f736406b  xlogo-1.0.5.tar.bz2"