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

pkgname=mauikit-texteditor
pkgver=2.0.1
pkgrel=1
pkgdesc='MauiKit Text Editor components'
url='https://mauikit.org/'
arch=(x86_64)
license=(LGPL)
depends=(mauikit syntax-highlighting)
makedepends=(extra-cmake-modules kio)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('642015e5244f4245964f5b28a71ed0d753b233edf84ca1bb40f2441176df267f')

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

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