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

pkgname=index-fm
pkgver=2.0.0
pkgrel=2
pkgdesc='Multi-platform file manager'
url='https://mauikit.org/'
arch=(x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing hicolor-icon-theme)
makedepends=(extra-cmake-modules)
groups=(maui)
source=(https://download.kde.org/stable/maui/index/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('4fa762557d84db84b90af01c48af99fd0dcec70ec363d28774c25097ed96701f')

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

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