wok-next view notes/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents c0521c689857
children a3c581bf52b8
line source
1 # SliTaz package receipt v2.
3 PACKAGE="notes"
4 VERSION="1.0.0"
5 CATEGORY="text"
6 SHORT_DESC="Note taking application, write down your thoughts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MPL2"
9 WEB_SITE="http://www.get-notes.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/nuttyartist/notes/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="qt5-dev xorg-libxcb-dev xorg-libX11-dev mesa-dev"
16 compile_rules() {
17 mkdir build
18 cd build
19 qmake \
20 PREFIX=/usr \
21 ../src &&
22 make &&
23 make INSTALL_ROOT=$install install || return 1
25 install -Dm0644 $src/packaging/linux/common/notes.desktop \
26 $install/usr/share/applications/notes.desktop
27 mkdir -p $install/usr/share/icons/hicolor
28 cp -r $src/packaging/linux/common/icons/* $install/usr/share/icons/hicolor
29 }
31 genpkg_rules() {
32 copy @std @ico # only 16 and 48; svg is too huge
33 DEPENDS="libatomic mesa qt5-base xorg-libX11"
34 }