wok-next annotate notes/receipt @ rev 20519

Synchronize wok-hg with wok. Some yesterday's patches are lost :(
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 10:45:35 2018 +0200 (2018-03-23)
parents 62dada09eb77
children 10df65db91ad
rev   line source
al@20237 1 # SliTaz package receipt v2.
al@20237 2
al@20237 3 PACKAGE="notes"
al@20237 4 VERSION="1.0.0"
al@20237 5 CATEGORY="text"
al@20237 6 SHORT_DESC="Note taking application, write down your thoughts"
al@20237 7 MAINTAINER="al.bobylev@gmail.com"
al@20237 8 LICENSE="MPL2"
al@20237 9 WEB_SITE="http://www.get-notes.com/"
al@20237 10
al@20237 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20237 12 WGET_URL="https://github.com/nuttyartist/notes/archive/v$VERSION.tar.gz"
al@20237 13
al@20502 14 BUILD_DEPENDS="qt5-dev xorg-libxcb-dev xorg-libX11-dev mesa-dev"
al@20237 15
al@20237 16 compile_rules() {
al@20237 17 mkdir build
al@20237 18 cd build
al@20237 19 qmake \
al@20237 20 PREFIX=/usr \
al@20237 21 ../src &&
al@20237 22 make &&
al@20237 23 make INSTALL_ROOT=$install install || return 1
al@20237 24
al@20237 25 install -Dm0644 $src/packaging/linux/common/notes.desktop \
al@20237 26 $install/usr/share/applications/notes.desktop
al@20237 27 mkdir -p $install/usr/share/icons/hicolor
al@20237 28 cp -r $src/packaging/linux/common/icons/* $install/usr/share/icons/hicolor
al@20237 29 }
al@20237 30
al@20237 31 genpkg_rules() {
al@20237 32 copy @std
al@20237 33 cook_copy_icons # only 16 and 48; svg is too huge
al@20502 34 DEPENDS="libatomic mesa qt5-base xorg-libX11"
al@20237 35 }