2019-06-11 23:45:48 +02:00
|
|
|
# Description: Plain-text file notepad with markdown support and ownCloud integration
|
|
|
|
# URL: https://www.qownnotes.org/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2019-08-16 18:01:55 +02:00
|
|
|
# Depends on: qt5
|
2023-01-05 13:29:10 +01:00
|
|
|
# Optional: aspell graphite2 icu
|
2019-06-11 23:45:48 +02:00
|
|
|
|
|
|
|
name=qownnotes
|
2023-07-14 17:07:38 +02:00
|
|
|
version=23.7.2
|
2019-06-11 23:45:48 +02:00
|
|
|
release=1
|
2023-07-12 16:47:10 +02:00
|
|
|
source=(https://github.com/pbek/QOwnNotes/releases/download/v$version/qownnotes-$version.tar.xz)
|
2019-06-11 23:45:48 +02:00
|
|
|
|
|
|
|
build() {
|
2023-07-12 16:47:10 +02:00
|
|
|
cd qownnotes-$version
|
2019-06-11 23:45:48 +02:00
|
|
|
|
2019-06-20 19:27:23 +02:00
|
|
|
echo "#define RELEASE \"CRUX\"" > release.h
|
|
|
|
/usr/lib/qt5/bin/qmake \
|
2023-07-12 16:47:10 +02:00
|
|
|
QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
|
|
|
|
QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
|
|
|
|
QMAKE_LFLAGS_RELEASE="${LDFLAGS}"
|
2019-06-20 19:27:23 +02:00
|
|
|
make
|
2019-06-11 23:45:48 +02:00
|
|
|
|
2020-07-08 14:53:05 +02:00
|
|
|
install -D -m755 QOwnNotes $PKG/usr/bin/QOwnNotes
|
|
|
|
install -D -m644 PBE.QOwnNotes.desktop $PKG/usr/share/applications/PBE.QOwnNotes.desktop
|
|
|
|
install -D -m644 "images/icons/128x128/apps/QOwnNotes.png" $PKG/usr/share/pixmaps/QOwnNotes.png
|
2019-06-20 19:27:23 +02:00
|
|
|
for format in {16x16,24x24,32x32,48x48,64x64,96x96,128x128,256x256,512x512}; do
|
2020-07-08 14:53:05 +02:00
|
|
|
install -D -m644 images/icons/$format/apps/QOwnNotes.png \
|
|
|
|
$PKG/usr/share/icons/hicolor/$format/apps/QOwnNotes.png
|
2019-06-20 19:27:23 +02:00
|
|
|
done
|
2020-07-08 14:53:05 +02:00
|
|
|
install -D -m644 images/icons/scalable/apps/QOwnNotes.svg \
|
|
|
|
$PKG/usr/share/icons/hicolor/scalable/apps/QOwnNotes.svg
|
2019-06-11 23:45:48 +02:00
|
|
|
}
|