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

Jan Steffens heftig at archlinux.org
Tue Sep 27 20:28:39 UTC 2016


    Date: Tuesday, September 27, 2016 @ 20:28:38
  Author: heftig
Revision: 277169

3.22.0+1+g8de47f2-1

Modified:
  gnome-maps/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 20:28:08 UTC (rev 277168)
+++ PKGBUILD	2016-09-27 20:28:38 UTC (rev 277169)
@@ -2,20 +2,31 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-maps
-pkgver=3.20.3
+pkgver=3.22.0+1+g8de47f2
 pkgrel=1
 pkgdesc="A simple GNOME 3 maps application"
+url="https://wiki.gnome.org/Apps/Maps"
 arch=(i686 x86_64)
-license=('GPL')
-url="https://wiki.gnome.org/Apps/Maps"
+license=(GPL)
 depends=(geocode-glib geoclue2 gjs libchamplain gnome-themes-standard libgee folks gfbgraph)
-makedepends=(intltool gobject-introspection)
-groups=('gnome-extra')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('055dbe0847c3f1c8fbdbf93d63896f41204642704c2b730e0bf01b7b82f09929')
+makedepends=(intltool gobject-introspection gnome-common git)
+groups=(gnome-extra)
+_commit=8de47f2cf3090bda82a706ea8b3b002541b852f4  # master
+source=("git://git.gnome.org/gnome-maps#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr --disable-schemas-compile
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
@@ -22,6 +33,6 @@
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list