[arch-commits] Commit in libgexiv2/repos (2 files)
Eli Schwartz
eschwartz at archlinux.org
Fri Jul 20 23:04:32 UTC 2018
Date: Friday, July 20, 2018 @ 23:04:32
Author: eschwartz
Revision: 362636
archrelease: copy trunk to community-staging-x86_64
Added:
libgexiv2/repos/community-staging-x86_64/
libgexiv2/repos/community-staging-x86_64/PKGBUILD
(from rev 362635, libgexiv2/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: libgexiv2/repos/community-staging-x86_64/PKGBUILD (from rev 362635, libgexiv2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-07-20 23:04:32 UTC (rev 362636)
@@ -0,0 +1,42 @@
+# $Id$
+# 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"
+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")
+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
+ ninja -C build
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list