PKGBUILD 711 Bytes
Newer Older
1 2 3

pkgname=libgexiv2
pkgver=0.10.8
4
pkgrel=2
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
pkgdesc="GObject-based wrapper around the Exiv2 library"
url="https://wiki.gnome.org/Projects/gexiv2"
arch=(x86_64)
license=(GPL2)
depends=('exiv2' 'glib2')
makedepends=('python3-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'
}

build() {
21
  chakra-meson gexiv2 build \
22 23 24 25 26 27 28 29 30 31 32 33
    -Denable-gtk-doc=false
  ninja -C build
}

check() {
  cd build
  meson test
}

package() {
  DESTDIR=$pkgdir ninja -C build install
}