wok view extended-actions/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 490539922a0d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="extended-actions"
4 VERSION="0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Service for generating extended actions on files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/extended-actions"
10 BRANCH="5"
11 TARBALL="$PACKAGE-$BRANCH.tar.bz2"
12 WGET_URL="bzr|lp:extended-actions"
14 DEPENDS="libgee libgio"
15 BUILD_DEPENDS="bazaar cmake vala glib-dev libgio-dev libgee-dev"
17 TODO="Setup extended-actions specific to SliTaz"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://bazaar.launchpad.net/~marlin-devs/extended-actions/trunk/files 2>/dev/null | \
23 sed '/start_revid/!d;s|.*revid=||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # gee-1.0 is old while gee-0.8 is latest ;)
30 sed -i 's|gee-1.0|gee-0.8|g' $(grep -l gee-1.0 $(find . -type f))
32 mkdir build && cd build &&
33 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
34 make &&
35 make DESTDIR=$install install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 }