summaryrefslogtreecommitdiff
path: root/qownnotes/Pkgfile
blob: 06b13240ebcd0559af058df9e37be6d78c6e52f6 (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 # Optional: aspell graphite2 icu
    6 
    7 name=qownnotes
    8 version=23.1.1
    9 release=1
   10 source=(https://download.tuxfamily.org/$name/src/$name-$version.tar.xz)
   11 
   12 build() {
   13   cd $name-$version
   14 
   15   echo "#define RELEASE \"CRUX\"" > release.h
   16   /usr/lib/qt5/bin/qmake \
   17     QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
   18     QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \
   19     QMAKE_LFLAGS_RELEASE="${LDFLAGS}"
   20   make
   21 
   22   install -D -m755 QOwnNotes $PKG/usr/bin/QOwnNotes
   23   install -D -m644 PBE.QOwnNotes.desktop $PKG/usr/share/applications/PBE.QOwnNotes.desktop
   24   install -D -m644 "images/icons/128x128/apps/QOwnNotes.png" $PKG/usr/share/pixmaps/QOwnNotes.png
   25   for format in {16x16,24x24,32x32,48x48,64x64,96x96,128x128,256x256,512x512}; do
   26     install -D -m644 images/icons/$format/apps/QOwnNotes.png \
   27       $PKG/usr/share/icons/hicolor/$format/apps/QOwnNotes.png
   28   done
   29   install -D -m644 images/icons/scalable/apps/QOwnNotes.svg \
   30     $PKG/usr/share/icons/hicolor/scalable/apps/QOwnNotes.svg
   31 }

Generated by cgit