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