# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=mauikit-imagetools
pkgver=2.0.1
pkgrel=1
pkgdesc='MauiKit Image Tools Components'
url='https://mauikit.org/'
arch=(x86_64)
license=(LGPL)
depends=(mauikit kquickimageeditor qt5-location exiv2)
makedepends=(extra-cmake-modules)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('c503a2e09a7cadfe7d49a9692dd1f12b4d06e286e97292e1e1a0aefb279c7ed9')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

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