[arch-commits] Commit in clutter/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Sep 24 01:25:10 UTC 2016
Date: Saturday, September 24, 2016 @ 01:25:09
Author: heftig
Revision: 276900
1.26.0+24+g79da526-1
Modified:
clutter/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++----------
1 file changed, 21 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-24 01:18:52 UTC (rev 276899)
+++ PKGBUILD 2016-09-24 01:25:09 UTC (rev 276900)
@@ -4,19 +4,30 @@
# Contributor: William Rea <sillywilly at gmail.com>
pkgname=clutter
-pkgver=1.26.0
+pkgver=1.26.0+24+g79da526
pkgrel=1
-pkgdesc="A GObject based library for creating fast, visually rich graphical user interfaces"
-arch=('i686' 'x86_64')
+pkgdesc="A toolkit for creating fast, portable, compelling dynamic UIs"
+arch=(i686 x86_64)
url="http://clutter-project.org/"
-license=('LGPL')
-depends=('gtk3' 'cogl' 'libinput')
-makedepends=('gobject-introspection' 'gtk-doc')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('67514e7824b3feb4723164084b36d6ce1ae41cb3a9897e9f1a56c8334993ce06')
+license=(LGPL)
+depends=(gtk3 cogl libinput)
+makedepends=(gobject-introspection gtk-doc git)
+_commit=79da526145de3033e01eb1de6d6ec712639a7ea5
+source=("git://git.gnome.org/clutter#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
./configure --prefix=/usr \
--enable-introspection \
--enable-egl-backend \
@@ -34,6 +45,6 @@
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list