# $Id: PKGBUILD 96469 2013-08-30 09:41:38Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Joel Teichroeb pkgname=weston pkgver=1.2.2 pkgrel=1 pkgdesc='Reference implementation of a Wayland compositor' arch=('i686' 'x86_64') url='http://wayland.freedesktop.org' license=('MIT') options=(!libtool) depends=('libxkbcommon' 'libunwind' 'poppler-glib' 'mtdev' 'libxcursor' 'glu' 'pango' 'colord') source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz") sha1sums=('b08d0c15b5eef65d5f7b864fe393b27f981f97f7') build() { cd $pkgname-$pkgver ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/weston \ --enable-demo-clients make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install # license install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }