wok-next annotate notes/receipt @ rev 20979

Build vifm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 27 01:38:02 2018 +0300 (2018-09-27)
parents 10df65db91ad
children 5669e8b3be70
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@20906 9 WEB_SITE="https://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@20604 32 copy @std @ico # only 16 and 48; svg is too huge
al@20502 33 DEPENDS="libatomic mesa qt5-base xorg-libX11"
al@20237 34 }