wok view tint2/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents e717a4953b0e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tint2"
4 VERSION="0.12.2"
5 CATEGORY="misc"
6 SHORT_DESC="Lightweight panel/taskbar for Linux"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gitlab.com/o9000/tint2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/-/archive/v$VERSION/tint2-v$VERSION.tar.gz"
12 BRANCH="$VERSION"
13 CONFIG_FILES="/etc/xdg/tint2/tint2rc"
14 TAGS="desktop panel taskbar"
15 #HOST_ARCH="i486 arm"
17 DEPENDS="gtk+ imlib2 librsvg startup-notification"
18 BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \
19 librsvg-dev"
21 current_version()
22 {
23 wget -O - $WEB_SITE/-/tags 2>/dev/null | \
24 sed '/tar.gz/!d;/data/d;s|.*/tint2-v*\(.*\).tar.gz".*|\1|;/tar.gz/d' | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cp -af $stuff/get_version.sh $src
31 export VERSION
33 mkdir build && cd build &&
34 cmake \
35 -DCMAKE_INSTALL_PREFIX=/usr \
36 $ARCH_ARGS .. &&
37 make && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 # Use custom configured theme instead
45 cp -f $stuff/tint2rc $fs/etc/xdg/tint2/tint2rc
47 rm -r $fs/usr/share/doc $fs/usr/share/locale $fs/usr/share/man
48 }