# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Harry Jeffery <harry@exec64.co.uk>

pkgname=imv
pkgver=4.3.0
pkgrel=1
pkgdesc='Image viewer for Wayland and X11'
url='https://github.com/eXeC64/imv'
arch=(x86_64)
license=(GPL)
depends=(freeimage glu libheif libinih libnsgif librsvg libxkbcommon libxkbcommon-x11 pango)
makedepends=(asciidoc cmocka git meson)
conflicts=(renameutils)
source=("git+$url#commit=6fffe1445874b20c85398c4586753176585bbec4") # tag: v4.3.0
b2sums=('SKIP')

build() {
  arch-meson build $pkgname
  ninja -C build
}

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