[arch-commits] Commit in clutter-gtk/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Sat Sep 24 02:06:15 UTC 2016


    Date: Saturday, September 24, 2016 @ 02:06:15
  Author: heftig
Revision: 276902

1.8.2-1

Modified:
  clutter-gtk/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-24 01:26:10 UTC (rev 276901)
+++ PKGBUILD	2016-09-24 02:06:15 UTC (rev 276902)
@@ -2,26 +2,39 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=clutter-gtk
-pkgver=1.8.0
+pkgver=1.8.2
 pkgrel=1
-pkgdesc="GTK clutter widget"
+pkgdesc="Clutter integration with GTK+"
 arch=('i686' 'x86_64')
-url="http://clutter-project.org/"
-license=('LGPL')
-depends=('clutter')
-makedepends=('gobject-introspection' 'gtk-doc')
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
-sha256sums=('742ef9d68ece36cbb1b2e1a4a6fbdad932f6645360be7e6de75abbb140dfbf1d')
+url="https://git.gnome.org/browse/clutter-gtk"
+license=(LGPL)
+depends=(clutter)
+makedepends=(gobject-introspection gtk-doc git)
+_commit=d48408a24672fa553034a0b3749bee930ad7c49d
+source=("git://git.gnome.org/clutter-gtk#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
+  cd $pkgname
+  ./configure --prefix=/usr --enable-gtk-doc
+
   # https://bugzilla.gnome.org/show_bug.cgi?id=655517
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list