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

Jan Steffens heftig at archlinux.org
Thu Mar 30 20:48:54 UTC 2017


    Date: Thursday, March 30, 2017 @ 20:48:54
  Author: heftig
Revision: 291903

3.9.90+156+g6e29f03-1

Modified:
  gnome-system-log/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-30 20:45:11 UTC (rev 291902)
+++ PKGBUILD	2017-03-30 20:48:54 UTC (rev 291903)
@@ -1,28 +1,37 @@
 # $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=gnome-system-log
-pkgver=3.9.90
-pkgrel=2
+pkgver=3.9.90+156+g6e29f03
+pkgrel=1
 pkgdesc="View your system logs"
 arch=(i686 x86_64)
 url="https://git.gnome.org/browse/gnome-system-log"
-license=('GPL2')
-depends=('dconf' 'gtk3')
-makedepends=('intltool' 'itstool' 'docbook-xsl')
-groups=('gnome')
-source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('9eeb51982d347aa7b33703031e2c1d8084201374665425cd62199649b29a5411')
+license=(GPL2)
+depends=(dconf gtk3)
+makedepends=(intltool itstool docbook-xsl git gnome-common)
+_commit=6e29f0383b0743b319a5109e4415c71ceb85cc62  # master
+source=("git+https://git.gnome.org/browse/gnome-system-log#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 \
-    --disable-schemas-compile
+  cd $pkgname
+  ./configure --prefix=/usr --disable-schemas-compile
   make
 }
 
 package() {
-  cd "$pkgname-$pkgver"
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list