makedepends=(cmake gspell gtksourceview4 libpeas xapp samurai gobject-introspection intltool itstool python-setuptools python-gobject)
run=(gsettings-desktop-schemas python-gobject)

description="A small and lightweight text editor."
url="https://github.com/linuxmint/xed"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=xed
version=3.8.9
_intversion=master.lmde7
release=1

PKGMK_KEEP_SOURCES="no"
source=(https://github.com/linuxmint/xed/archive/${_intversion}.tar.gz)

build() {

  mkdir -p build && cd build

  meson setup --prefix=/usr \
        --libdir=/usr/lib \
        --libexecdir=lib/$name \
        --buildtype=plain \
        ../$name-${_intversion}

  samu
  DESTDIR=$PKG samu install
}
