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

pkgname=maui-shelf
_pkgname=shelf
pkgver=2.0.0
pkgrel=2
pkgdesc='Document and EBook collection manager'
url='https://mauikit.org/'
arch=(x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing mauikit-texteditor poppler-qt5 hicolor-icon-theme)
makedepends=(extra-cmake-modules)
groups=(maui)
source=(https://download.kde.org/stable/maui/$_pkgname/$pkgver/$_pkgname-$pkgver.tar.xz)
sha256sums=('ecb6280c5f4ad4b9830c89c616567425855e42a63465767f46d455bd9460a585')

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

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