PKGBUILDs/community/weston/PKGBUILD

37 lines
997 B
Bash
Raw Normal View History

2013-07-16 23:05:56 +00:00
# $Id$
# Maintainer: Sébastien Luttringer
# Contributor: Joel Teichroeb <joel@teichroeb.net>
2016-09-22 00:05:26 +00:00
# remove when bumped upstream
2013-07-16 23:05:56 +00:00
pkgname=weston
2016-09-21 12:39:03 +00:00
pkgver=1.12.0
2015-06-05 00:48:52 +00:00
pkgrel=1
2013-07-16 23:05:56 +00:00
pkgdesc='Reference implementation of a Wayland compositor'
arch=('i686' 'x86_64')
url='http://wayland.freedesktop.org'
license=('MIT')
2016-02-18 13:21:35 +00:00
depends=('wayland' 'libxkbcommon' 'libinput' 'libunwind' 'poppler-glib' 'mtdev' 'libxcursor' 'glu' 'pango' 'colord')
makedepends=('wayland-protocols')
2016-09-21 12:39:03 +00:00
validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611') # Bryce Harrington
source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.sig})
sha1sums=('36f1a31a32964be8ec782898cc31c70c90ba5697'
'SKIP')
2013-07-16 23:05:56 +00:00
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
2013-08-23 19:24:08 +00:00
--libexecdir=/usr/lib/weston \
2014-10-16 13:20:31 +00:00
--enable-libinput-backend \
2016-09-22 00:05:26 +00:00
--enable-demo-clients-install
2013-07-16 23:05:56 +00:00
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
# license
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}