[arch-commits] Commit in libgsf/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Wed Apr 5 12:50:30 UTC 2017
Date: Wednesday, April 5, 2017 @ 12:50:28
Author: jgc
Revision: 292121
upgpkg: libgsf 1.14.41+3+gc7b4b53-1
Modified:
libgsf/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++++++++++-------
1 file changed, 23 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-05 12:48:06 UTC (rev 292120)
+++ PKGBUILD 2017-04-05 12:50:28 UTC (rev 292121)
@@ -3,7 +3,7 @@
# Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
pkgname=libgsf
-pkgver=1.14.40
+pkgver=1.14.41+3+gc7b4b53
pkgrel=1
arch=(i686 x86_64)
pkgdesc="An extensible I/O abstraction library for dealing with structured file formats"
@@ -10,18 +10,34 @@
url="https://git.gnome.org/browse/libgsf"
license=('GPL' 'LGPL')
depends=('libxml2' 'gdk-pixbuf2' 'bzip2')
-makedepends=('intltool' 'gobject-introspection')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('350638894b5e324d8880b50e4bc43daabaf9f3f43a66010af080ffa2d32d51e0')
+makedepends=('intltool' 'gobject-introspection' git gtk-doc autoconf-archive)
+_commit=c7b4b53020d507dccf8ba73c5a2a3a23cc649562 # master
+source=("git+https://git.gnome.org/browse/libgsf#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^LIBGSF_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
build() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static --enable-introspection
+ --localstatedir=/var --disable-static --enable-introspection --enable-gtk-doc
make
}
package_libgsf() {
- cd "$pkgname-$pkgver"
+ cd "$pkgname"
make DESTDIR="$pkgdir" install
}
More information about the arch-commits
mailing list