description='X-Apps Text Editor'
url='https://github.com/linuxmint/xed'

packager="Tnut <tnut@nutyx.org>"
contributors="Spiky"

makedepends=(gzip meson samurai gobject-introspection
             intltool itstool)
run=(gspell gtksourceview4 libpeas xapp)
set=(cinnamon)
PKGMK_KEEP_SOURCES="no"

name=xed
version=3.2.8
release=2

source=(https://github.com/linuxmint/xed/archive/$version.tar.gz)

build() {
mkdir build
cd    build
meson --prefix=/usr \
 --libexecdir=lib/$name \
 --buildtype=plain \
 ../$name-$version

samu

DESTDIR=$PKG samu install
}
