[arch-commits] Commit in gnome-doc-utils/repos/extra-any (PKGBUILD PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Feb 18 13:15:20 UTC 2017


    Date: Saturday, February 18, 2017 @ 13:15:20
  Author: jgc
Revision: 289190

archrelease: copy trunk to extra-any

Added:
  gnome-doc-utils/repos/extra-any/PKGBUILD
    (from rev 289189, gnome-doc-utils/trunk/PKGBUILD)
Deleted:
  gnome-doc-utils/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 39 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-18 13:15:13 UTC (rev 289189)
+++ PKGBUILD	2017-02-18 13:15:20 UTC (rev 289190)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gnome-doc-utils
-pkgver=0.20.10
-pkgrel=2
-pkgdesc="Documentation utilities for Gnome"
-arch=('any')
-license=('GPL' 'LGPL')
-depends=('libxslt' 'python2' 'docbook-xml' 'rarian')
-makedepends=('intltool')
-url="http://www.gnome.org"
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('cb0639ffa9550b6ddf3b62f3b1add92fb92ab4690d351f2353cffe668be8c4a6')
-
-build() {
-  cd "$pkgname-$pkgver"
-  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
-      --sysconfdir=/etc --mandir=/usr/share/man \
-      --localstatedir=/var --disable-scrollkeeper
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}

Copied: gnome-doc-utils/repos/extra-any/PKGBUILD (from rev 289189, gnome-doc-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-18 13:15:20 UTC (rev 289190)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-doc-utils
+pkgver=0.20.10+16+gc03cc09
+pkgrel=1
+pkgdesc="Documentation utilities for Gnome"
+arch=('any')
+license=('GPL' 'LGPL')
+depends=('libxslt' 'python2' 'docbook-xml' 'rarian')
+makedepends=('intltool' gnome-common git)
+url="https://www.gnome.org"
+_commit=c03cc0963996934e03587af3e351c2bb9dab6b2a  # master
+source=("git+https://git.gnome.org/browse/gnome-doc-utils#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  rm -f m4/glib-gettext.m4
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd "$pkgname"
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+      --sysconfdir=/etc --mandir=/usr/share/man \
+      --localstatedir=/var --disable-scrollkeeper
+  make
+}
+
+package() {
+  cd "$pkgname"
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list