#Packager: George Vlahavas pkgname=xournalpp pkgver=1.1.1 pkgrel=2gv source=("https://github.com/xournalpp/xournalpp/archive/refs/tags/v${pkgver}.tar.gz") docs=("readme.md" "changelog.md" "license" "authors" "about-nls") url=https://github.com/xournalpp/xournalpp doinst() { if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications fi if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "xournalpp (handwriting notetaking software with PDF annotation)" "Xournal++ is a handwriting notetaking software with PDF annotation" "support. Written in C++ with GTK3, it supports pen input from devices" "such as Wacom Tablets." ) build() { cd $startdir/src/$pkgname-$pkgver cmake -DCMAKE_INSTALL_PREFIX=/usr make translations || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }