wok-next diff notes/receipt @ rev 20337

orpheus: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 16 21:37:29 2017 +0100 (2017-11-16)
parents
children c0521c689857
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/notes/receipt	Thu Nov 16 21:37:29 2017 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="notes"
     1.7 +VERSION="1.0.0"
     1.8 +CATEGORY="text"
     1.9 +SHORT_DESC="Note taking application, write down your thoughts"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MPL2"
    1.12 +WEB_SITE="http://www.get-notes.com/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/nuttyartist/notes/archive/v$VERSION.tar.gz"
    1.16 +
    1.17 +BUILD_DEPENDS="qt5-dev xorg-libxcb-dev xorg-libX11-dev mesa17-dev"
    1.18 +
    1.19 +compile_rules() {
    1.20 +	mkdir build
    1.21 +	cd    build
    1.22 +	qmake \
    1.23 +		PREFIX=/usr \
    1.24 +		../src &&
    1.25 +	make &&
    1.26 +	make INSTALL_ROOT=$install install || return 1
    1.27 +
    1.28 +	install -Dm0644 $src/packaging/linux/common/notes.desktop \
    1.29 +		$install/usr/share/applications/notes.desktop
    1.30 +	mkdir -p $install/usr/share/icons/hicolor
    1.31 +	cp -r $src/packaging/linux/common/icons/* $install/usr/share/icons/hicolor
    1.32 +}
    1.33 +
    1.34 +genpkg_rules() {
    1.35 +	copy @std
    1.36 +	cook_copy_icons # only 16 and 48; svg is too huge
    1.37 +	DEPENDS="libatomic mesa17 qt5-base xorg-libX11"
    1.38 +}