summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18dc96fbb0661b24631f355777777d99eb5158cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Joel Teichroeb <joel@teichroeb.net>
# Contributor: atie H. <atie.at.matrix@gmail.com>
# Contributor: alesko <askondro@gmail.com>

pkgname=clutter-git
pkgver=1.22.0.r38.g896e43c
pkgrel=1
pkgdesc='A GObject based library for creating fast, visually rich graphical user interfaces'
arch=('i686' 'x86_64')
url='http://clutter-project.org/'
license=('LGPL')
depends=('cogl' 'mesa' 'json-glib' 'atk' 'libxi' 'gtk-doc' 'libinput' 'gobject-introspection' 'libxkbcommon')
makedepends=('git')
provides=("clutter=${pkgver}")
conflicts=('clutter')
source=('git://git.gnome.org/clutter')
md5sums=('SKIP')

pkgver() {
	cd clutter
	git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

build() {
	cd clutter

	./autogen.sh --prefix=/usr	--enable-introspection \
		--enable-wayland-backend --enable-egl-backend --enable-evdev-input \
		--enable-wayland-compositor
	make 
}

package() {
	cd clutter
	make DESTDIR=$pkgdir install 
}