[arch-commits] Commit in libgsf/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue Dec 28 02:59:15 UTC 2021
Date: Tuesday, December 28, 2021 @ 02:59:15
Author: heftig
Revision: 433214
1.14.48-1
Modified:
libgsf/trunk/PKGBUILD
----------+
PKGBUILD | 37 ++++++++++++++++++++-----------------
1 file changed, 20 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-27 22:56:23 UTC (rev 433213)
+++ PKGBUILD 2021-12-28 02:59:15 UTC (rev 433214)
@@ -1,9 +1,9 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
# Contributor: Sarah Hay <sarahhay at mb.sympatico.ca>
pkgname=libgsf
-pkgver=1.14.47
+pkgver=1.14.48
pkgrel=1
arch=(x86_64)
pkgdesc="An extensible I/O abstraction library for dealing with structured file formats"
@@ -11,35 +11,38 @@
license=(GPL LGPL)
depends=(libxml2 gdk-pixbuf2 bzip2)
makedepends=(gobject-introspection git gtk-doc autoconf-archive)
-checkdepends=(perl-xml-parser unzip)
-_commit=d203263342e21f51fed1c39fec2fd6e9708e6ed8 # tags/LIBGSF_1_14_47^0
+checkdepends=(perl-xml-parser unzip valgrind)
+provides=(libgsf-1.so)
+_commit=dc69cda017e7b6bdf74ec9af8d3aa79985efe64d # tags/LIBGSF_1_14_48^0
source=("git+https://gitlab.gnome.org/GNOME/libgsf.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^LIBGSF_//;s/_/./g;s/-/+/g'
+ cd libgsf
+ git describe --tags | sed 's/^LIBGSF_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
- cd $pkgname
+ cd libgsf
NOCONFIGURE=1 ./autogen.sh
}
-check() {
- cd $pkgname
- make check
-}
-
build() {
- cd "$pkgname"
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static --enable-introspection --enable-gtk-doc
+ cd libgsf
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-static --enable-introspection --enable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
+check() {
+ cd libgsf
+ make check
+}
+
package_libgsf() {
- cd "$pkgname"
+ cd libgsf
make DESTDIR="$pkgdir" install
}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list