[arch-commits] Commit in gnome-devel-docs/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Sep 27 19:55:48 UTC 2016
Date: Tuesday, September 27, 2016 @ 19:55:47
Author: heftig
Revision: 277141
3.16.2+188+g5332b8f-1
Modified:
gnome-devel-docs/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-27 19:52:54 UTC (rev 277140)
+++ PKGBUILD 2016-09-27 19:55:47 UTC (rev 277141)
@@ -2,25 +2,36 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=gnome-devel-docs
-pkgver=3.20.2
+pkgver=3.16.2+188+g5332b8f
pkgrel=1
pkgdesc="Developer documentation for GNOME"
-url="https://www.gnome.org/"
+url="https://git.gnome.org/browse/gnome-devel-docs"
arch=(any)
license=(FDL)
depends=(yelp)
-makedepends=(yelp-tools)
+makedepends=(yelp-tools gnome-common git)
groups=(gnome-extra)
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('b7aa49980920c6cbedfac65a2faa7d5da70a408c731be47bf924a7c85d373db1')
+_commit=5332b8f7e403c2c20891061cd3f83354ec91327f # master
+source=("git://git.gnome.org/gnome-devel-docs#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 --localstatedir=/var
make
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list