[arch-commits] Commit in gnome-video-effects/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Tue Sep 27 06:41:53 UTC 2016


    Date: Tuesday, September 27, 2016 @ 06:41:52
  Author: heftig
Revision: 277005

0.4.1+56+g393c78f-1

Modified:
  gnome-video-effects/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++++++---------
 1 file changed, 20 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 06:39:14 UTC (rev 277004)
+++ PKGBUILD	2016-09-27 06:41:52 UTC (rev 277005)
@@ -2,18 +2,29 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=gnome-video-effects
-pkgver=0.4.1
+pkgver=0.4.1+56+g393c78f
 pkgrel=1
 pkgdesc="A collection of GStreamer effects"
-arch=('any')
-url="http://www.gtk.org/"
-license=('GPL2')
-makedepends=('intltool')
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz)
-sha256sums=('34be42713a97caf698b84ce7e1158aa21cc0977df7f7a7477cece226bc8d844a')
+arch=(any)
+url="https://git.gnome.org/browse/gnome-video-effects"
+license=(GPL2)
+makedepends=(intltool gnome-common git)
+_commit=393c78fc9a7dd0a78383b50f0ea08139160377df
+source=("git://git.gnome.org/gnome-video-effects#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 \
     --sysconfdir=/etc
@@ -21,7 +32,7 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list