26 lines
856 B
Plaintext
26 lines
856 B
Plaintext
# Description: notetaking and PDF annotation software
|
|
# URL: https://github.com/xournalpp/xournalpp
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: gtk3 poppler-glib libxml2 portaudio libsndfile lua53 libzip cppunit adwaita-icon-theme
|
|
# Nice to have: libungif texlive
|
|
|
|
name=xournalpp
|
|
version=1.1.0
|
|
release=1
|
|
source=(https://github.com/$name/$name/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
mkdir build && cd build
|
|
if [ -z "$XDG_CONFIG_HOME" ]; then
|
|
configdir=".config"
|
|
else
|
|
configdir="$(realpath --relative-to="$HOME" "$XDG_CONFIG_HOME")"
|
|
fi
|
|
cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DDEV_CONFIG_DIR="$configdir/xournalpp" \
|
|
-DENABLE_CPPUNIT=ON -DCMAKE_BUILD_TYPE=Release ..
|
|
cmake --build .
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/share/locale
|
|
}
|