blob: eb9bcb77fd0612df20611bc58d76636af390b28e (
plain)
1 # Description: Plain-text file notepad with markdown support and ownCloud integration
2 # URL: https://www.qownnotes.org/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: qt5
5
6 name=qownnotes
7 version=19.8.4
8 release=1
9 source=(https://download.tuxfamily.org/$name/src/$name-$version.tar.xz)
10
11 build() {
12 cd $name-$version
13
14 echo "#define RELEASE \"CRUX\"" > release.h
15 /usr/lib/qt5/bin/qmake \
16 QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
17 QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
18 QMAKE_LFLAGS_RELEASE="${LDFLAGS}"
19 make
20
21 install -D -m755 QOwnNotes "${PKG}/usr/bin/QOwnNotes"
22 install -D -m644 PBE.QOwnNotes.desktop "${PKG}/usr/share/applications/PBE.QOwnNotes.desktop"
23 install -D -m644 "images/icons/128x128/apps/QOwnNotes.png" "${PKG}/usr/share/pixmaps/QOwnNotes.png"
24 for format in {16x16,24x24,32x32,48x48,64x64,96x96,128x128,256x256,512x512}; do
25 install -D -m644 "images/icons/${format}/apps/QOwnNotes.png" \
26 "${PKG}/usr/share/icons/hicolor/$format/apps/QOwnNotes.png"
27 done
28 install -D -m644 "images/icons/scalable/apps/QOwnNotes.svg" \
29 "${PKG}/usr/share/icons/hicolor/scalable/apps/QOwnNotes.svg"
30 }
|