wok-next annotate notes/receipt @ rev 21079

emacs: update dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 14:46:21 2018 +0200 (2018-12-22)
parents a3c581bf52b8
children
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@21078 14 BUILD_DEPENDS="qt5-dev libxcb-dev 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@21078 33 DEPENDS="libatomic mesa qt5-base libx11"
al@20237 34 }