# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=compface
pkgver=1.5.2
pkgrel=0
pkgdesc="Utilities and library for using the X-Face format"
url="http://freshmeat.sourceforge.net/projects/compface/"
arch="all"
options="!check"  # No test suite.
license="MIT"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.xemacs.org/pub/xemacs/aux/compface-$pkgver.tar.gz"

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

package() {
	make prefix="$pkgdir"/usr MANDIR="$pkgdir"/usr/share/man install
}

sha512sums="0da9ee4c5fb2b5c712466d9fa6170e5687b23c038e6304baa42d7ede6d9bd50a1b84da416eb853a420c01a6b9eccd5e7d92a4ebc26295714b85254c05c9e3360  compface-1.5.2.tar.gz"