wok view tint2/receipt @ rev 25330
updated sshfs-fuse (2.10 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 23 10:43:57 2022 +0100 (2022-07-23) |
parents | fb22330086d8 |
children | a5e183d53960 |
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|' | 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 }