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

pkgname=imv
pkgver=4.0.1
pkgrel=1
pkgdesc='Image viewer for Wayland and X11'
url='https://github.com/eXeC64/imv'
arch=(x86_64)
license=(GPL)
depends=(desktop-file-utils fontconfig freeimage librsvg libxkbcommon pango sdl2_ttf)
makedepends=(asciidoc cmocka git libxkbcommon-x11)
conflicts=(renameutils)
source=("git+$url#tag=v${pkgver/_/-}")
sha1sums=('SKIP')

build() {
  make -C "$pkgname" BUILDDIR=build
}

package() {
  make -C "$pkgname" BUILDDIR=build DESTDIR="$pkgdir" install
}

# getver: github.com/eXeC64/imv/releases
# vim: ts=2 sw=2 et:
