summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4e4e764f02cbc0ef6271d7523eb4685b03d150e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>

pkgname=libgexiv2-git
pkgver=0.11
pkgrel=1
pkgdesc="GObject-based wrapper around the Exiv2 library"
url="https://wiki.gnome.org/Projects/gexiv2"
arch=(x86_64)
license=(GPL2)
conflicts=(libgexiv2)
depends=(exiv2 glib2)
makedepends=(python-gobject python2-gobject gobject-introspection vala git meson)
source=("git+https://git.gnome.org/browse/gexiv2")
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: