#Maintainer: George Vlahavas (vlahavas~AT~gmail~DOT~com)

pkgname=cairomm
pkgver=1.8.2
pkgrel=1gv
arch=x86_64
source=("http://cairographics.org/releases/cairomm-$pkgver.tar.gz")
docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo" "maintainers")
url=http://cairographics.org/cairomm/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"cairomm - A C++ Wrapper for Cairo"
"Cairomm is a C++ wrapper for the cairo graphics library. It offers all"
"the power of cairo with an interface familiar to C++ developers,"
"including use of the Standard Template Library where it makes sense."
"Cairomm wraps all relevant parts of the cairo API and is API/ABI"
"stable. It is used by gtkmm since version 2.10.x"
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make || return 1
	make install DESTDIR=$startdir/pkg
	rm -rf $startdir/pkg/usr/share/doc
	rmdir $startdir/pkg/usr/share
}