summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e076aa3fb1ac2f22f570ccf23299a6064ec4aa33 (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
# Maintainer: Emanuel Fernandes <efernandes@tektorque.com>

pkgname=mx-git
pkgver=1.99.4.r272.g63da1f2
pkgrel=1
pkgdesc="A Clutter-based toolkit"
arch=('i686' 'x86_64')
url="http://www.clutter-project.org"
license=('LGPL')
depends=('clutter' 'gdk-pixbuf2')
makedepends=('git' 'gobject-introspection' 'gtk-doc' 'intltool' 'libtool' 'vala')
provides=('mx')
conflicts=('mx')
source=("$pkgname::git+https://github.com/clutter-project/mx.git")
md5sums=('SKIP')

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

build() {
	cd "$pkgname"
	./autogen.sh --prefix=/usr --enable-gtk-doc
	make
}

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