[arch-commits] Commit in libgexiv2/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Thu Mar 14 09:59:08 UTC 2019
Date: Thursday, March 14, 2019 @ 09:59:07
Author: arodseth
Revision: 440979
upgpkg: libgexiv2 0.12.0-1
Modified:
libgexiv2/trunk/PKGBUILD
----------+
PKGBUILD | 31 ++++++++++---------------------
1 file changed, 10 insertions(+), 21 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-14 09:31:25 UTC (rev 440978)
+++ PKGBUILD 2019-03-14 09:59:07 UTC (rev 440979)
@@ -1,37 +1,26 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
# Contributor: Ionut Biru <ibiru at archlinux.org>
pkgname=libgexiv2
-pkgver=0.10.8
-pkgrel=2
-pkgdesc="GObject-based wrapper around the Exiv2 library"
-url="https://wiki.gnome.org/Projects/gexiv2"
+pkgver=0.12.0
+pkgrel=1
+pkgdesc='GObject-based wrapper around the Exiv2 library'
+url='https://wiki.gnome.org/Projects/gexiv2'
arch=(x86_64)
license=(GPL2)
depends=(exiv2 glib2)
-makedepends=(python-gobject python2-gobject gobject-introspection vala git meson)
-_commit=f1bdbe17d6743da27c1717d8f4d2793a05c72277 # tags/gexiv2-0.10.8^0
-source=("git+https://git.gnome.org/browse/gexiv2#commit=$_commit")
+makedepends=(git gobject-introspection meson python-gobject python2-gobject vala)
+source=("git+https://gitlab.gnome.org/GNOME/gexiv2.git#tag=gexiv2-$pkgver")
sha256sums=('SKIP')
-pkgver() {
- cd gexiv2
- git describe --tags | sed 's/^gexiv2-//;s/-/+/g'
-}
-
-prepare() {
- cd gexiv2
-}
-
build() {
- arch-meson gexiv2 build \
- -Denable-gtk-doc=true
+ mkdir -p build
+ arch-meson gexiv2 build -Denable-gtk-doc=true
ninja -C build
}
check() {
- cd build
- meson test
+ meson test -C build
}
package() {
More information about the arch-commits
mailing list