#Packager: Dimitris Tzemos <dijemos~at~gmail~dot~com>

pkgname=wayland
pkgver=1.14.0
pkgrel=1dj
source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz")
docs=("COPYING" "README" "TODO" "doc/Contributing")
url='http://wayland.freedesktop.org'

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"wayland (The Wayland display server)"
"Wayland is a project to define a protocol for a compositor to talk"
"to its clients as well as a library implementation of the protocol."
"The compositor can be a standalone display server running on Linux"
"kernel modesetting and evdev input devices, an X application, or a"
"wayland client itself. The clients can be traditional applications,"
"X servers (rootless or fullscreen) or other display servers."
""
"Homepage: http://wayland.freedesktop.org/"
)


build() {
	
	cd $SRC/$pkgname-$pkgver
	
	./configure \
	--prefix=/usr \
	--libdir=/usr/lib${LIBDIRSUFFIX} \
	--sysconfdir=/etc \
	--localstatedir=/var \
	--mandir=/usr/man \
	--docdir=/usr/doc/$pkgname-$pkgver \
    --enable-static=no \
    --disable-documentation \
	--build=$arch-slackware-linux 

	make || return 1
	make install-strip DESTDIR=$PKG || return 1

} 
