wok-next view notes/receipt @ rev 20244
Update bdeps: apache-mod-perl, codeblocks, tacacs+, thunar-archive-plugin, tuxpaint, xpenguins
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 07 10:54:15 2017 +0200 (2017-11-07) |
parents | |
children | c0521c689857 |
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 mesa17-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
33 cook_copy_icons # only 16 and 48; svg is too huge
34 DEPENDS="libatomic mesa17 qt5-base xorg-libX11"
35 }