wok view listpatron/receipt @ rev 24997
updated ninvaders (0.1.1 -> 0.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 11:04:31 2022 +0100 (2022-05-16) |
parents | b9659e3c2111 |
children | 73f36875e5a7 |
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="http://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 }