wok-6.x view listpatron/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (21 months ago) |
parents | 9981cfce1dd8 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="listpatron"
4 VERSION="0.1.1"
5 CATEGORY="office"
6 SHORT_DESC="GTK+2 application for maintaining lists of information.."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.electricmonk.nl/Programmings/ListPatron"
11 WGET_URL="https://github.com/fboender/listpatron/releases/download/$VERSION/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/fboender/listpatron/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --libexecdir=/usr/lib/$PACKAGE \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/applications
39 cp -a $stuff/listpatron.desktop $fs/usr/share/applications
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/pixmaps $fs/usr/share
42 cp -a $install/usr/share/xml $fs/usr/share
43 cd $fs/usr/share/pixmaps
44 ln -s listpatron/icons/listpatron-col-add.png listpatron.png
45 }