# $Id: PKGBUILD 92508 2013-06-07 12:43:24Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Joel Teichroeb pkgname=weston pkgver=1.1.1 pkgrel=1 pkgdesc='Reference implementation of a Wayland compositor' arch=('i686' 'x86_64' 'mips64el') url='http://wayland.freedesktop.org' license=('MIT') options=(!libtool) depends=('libxkbcommon' 'libunwind' 'poppler-glib' 'mtdev' 'libxcursor' 'glu' 'pango') source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz") sha1sums=('5239afe177dadbded3c0018b55dd1045be5f84b2') build() { cd $pkgname-$pkgver ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/weston \ --disable-android-compositor make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install # license install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" # embed more clients for _c in calibrator clickdot cliptest dnd editor eventdemo flower gears image \ resizor simple-egl simple-shm simple-touch smoke transformed view; do install -Dm755 "clients/$_c" "$pkgdir/usr/bin/weston-$_c" done for _c in info keyboard screensaver screenshooter tablet-shell terminal; do install -Dm755 "clients/weston-$_c" "$pkgdir/usr/bin/weston-$_c" done }