wok view lxappearance/receipt @ rev 24713
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 14 18:23:09 2022 +0000 (2022-03-14) |
parents | ee53899c6189 |
children | 180119c209e8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxappearance"
4 VERSION="0.6.3"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE GTK+ theme switcher"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.lxde.org/en/LXAppearance"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 TAGS="LXDE"
13 HOST_ARCH="i486 arm"
15 DEPENDS="gtk+ dbus-glib"
16 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev dbus-glib-dev"
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/lxde/files/LXAppearance/ 2>/dev/null | \
21 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 --enable-dbus \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/applications $fs/usr/share
40 cp -a $install/usr/share/lxappearance $fs/usr/share
41 }