[arch-commits] Commit in yelp-xsl/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Fri Sep 16 09:03:18 UTC 2016
Date: Friday, September 16, 2016 @ 09:03:18
Author: jgc
Revision: 276526
upgpkg: yelp-xsl 3.17.90+28+g9f18016-1
Modified:
yelp-xsl/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-09-16 05:17:16 UTC (rev 276525)
+++ PKGBUILD 2016-09-16 09:03:18 UTC (rev 276526)
@@ -2,25 +2,34 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=yelp-xsl
-pkgver=3.20.1
+pkgver=3.17.90+28+g9f18016
pkgrel=1
pkgdesc="Stylesheets for Yelp"
arch=(any)
-makedepends=(intltool libxslt libxml2 itstool)
+makedepends=(intltool libxslt libxml2 itstool git)
license=(GPL)
options=('!emptydirs')
url="http://www.gnome.org"
-source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('dc61849e5dca473573d32e28c6c4e3cf9c1b6afe241f8c26e29539c415f97ba0')
+_commit=9f1801698d9f4b6ccd8a20ed0e3d053f5e2f60ac
+source=("git://git.gnome.org/yelp-xsl#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
- cd $pkgname-$pkgver
- rm xslt/common/domains/yelp-xsl.xml
+ 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