wok-next annotate steadyflow/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
al@14237 | 2 |
al@14237 | 3 PACKAGE="steadyflow" |
al@14237 | 4 VERSION="0.2.0" |
al@14237 | 5 CATEGORY="x-window" |
al@14237 | 6 SHORT_DESC="Simple download manager for GNOME" |
al@14237 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14237 | 8 LICENSE="GPL3" |
al@14237 | 9 WEB_SITE="https://launchpad.net/steadyflow" |
al@21020 | 10 |
al@14237 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@14237 | 12 WGET_URL="https://launchpad.net/$PACKAGE/trunk/$VERSION/+download/$TARBALL" |
al@14237 | 13 |
al@21017 | 14 BUILD_DEPENDS="cmake vala gtk3-dev glib-dev libgee-dev libnotify-dev" |
al@14237 | 15 |
al@14237 | 16 BUGS="Not able to download anything. Gnome-VFS error?" |
al@14237 | 17 |
al@21020 | 18 compile_rules() { |
al@21020 | 19 mkdir -p $install/usr/share/man/man1 |
al@21020 | 20 # gee-1.0 is old while gee-0.8 is latest ;-) |
al@14237 | 21 sed -i 's|gee-1.0|gee-0.8|g; s|Gee-1.0|Gee-0.8|g' \ |
al@14237 | 22 $(grep -li gee-1.0 $(find . -type f)) |
pascal@16663 | 23 sed -i 's/exit(/GLib.Process.&/' Steadyflow/Services.vala |
al@14237 | 24 |
al@14237 | 25 mkdir build |
al@21020 | 26 cd build |
al@21020 | 27 cmake \ |
al@21020 | 28 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21020 | 29 .. && |
al@21020 | 30 make && |
al@21020 | 31 make install |
al@14237 | 32 } |
al@14237 | 33 |
al@21020 | 34 genpkg_rules() { |
al@21020 | 35 copy @std *.mo |
al@21020 | 36 DEPENDS="gtk3 libgee libnotify" |
al@21020 | 37 TAGS="gtk3" |
al@14237 | 38 } |