diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/weston/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/weston/PKGBUILD')
-rw-r--r-- | community/weston/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/weston/PKGBUILD b/community/weston/PKGBUILD new file mode 100644 index 000000000..25425c83b --- /dev/null +++ b/community/weston/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 94173 2013-07-15 21:54:10Z tomegun $ +# Maintainer: Sébastien Luttringer +# Contributor: Joel Teichroeb <joel@teichroeb.net> + +pkgname=weston +pkgver=1.2.0 +pkgrel=2 +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=('23201d31e71768e5ec3de0d10fa6de988dd273c8') + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/weston + 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 fullscreen gears \ + image resizor simple-egl simple-shm simple-touch smoke transformed view; do + install -Dm755 "clients/$_c" "$pkgdir/usr/bin/weston-$_c" + done +} |