# $Id: PKGBUILD 104875 2014-01-27 23:38:12Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Joel Teichroeb pkgname=weston pkgver=1.4.0 pkgrel=2 pkgdesc='Reference implementation of a Wayland compositor' arch=('i686' 'x86_64') url='http://wayland.freedesktop.org' license=('MIT') depends=('libxkbcommon' 'libunwind' 'poppler-glib' 'mtdev' 'libxcursor' 'glu' 'pango' 'colord') source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz") sha1sums=('49b0b6d5e2366a7bad5158b29998213e5ca7f254') build() { cd $pkgname-$pkgver ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/weston \ --enable-demo-clients-install make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install # license install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }