cruxports/xournalpp/Pkgfile

27 lines
769 B
Plaintext

# Description: notetaking and PDF annotation software
# URL: https://github.com/xournalpp/xournalpp
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: adwaita-icon-theme cppunit librsvg libsndfile libzip lua53 poppler-glib portaudio
# Optional: libungif texlive
name=xournalpp
version=1.1.3
release=1
source=(https://github.com/$name/$name/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr/" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DENABLE_CPPUNIT=ON -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/locale
find $PKG -name README.md -delete
}