wok view compiz-plugins-unsupported/receipt @ rev 25598

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 12:03:07 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="compiz-plugins-unsupported"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Compiz extra plugins."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/compiz-reloaded"
11 SOURCE="compiz-plugins-experimental"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
15 DEPENDS="compiz-core compiz-libcompizconfig compiz-plugins-main
16 gtk+ libnotify librsvg xorg-libX11"
17 BUILD_DEPENDS="cmake compiz-bcop compiz-core-dev compiz-libcompizconfig-dev
18 compiz-plugins-extra compiz-plugins-extra-dev compiz-plugins-main-dev
19 file gtk+-dev intltool libnotify-dev librsvg-dev libtool libxslt-dev
20 mesa-dev startup-notification-dev util-linux-getopt util-linux-uuid-dev
21 xcb-util-dev xorg-dev"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
27 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure --prefix=/usr &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 mkdir -p $fs/usr/share/locale
44 cp -a $install/usr/lib/compiz $fs/usr/lib
45 cp -a $install/usr/share/compiz $fs/usr/share
47 # Set list of wanted locales in LOCALE_PACK
48 . $WOK/slitaz-i18n/stuff/locale-pack.conf
50 # Copy message files in wanted languages, if available
51 for locale in $LOCALE_PACK
52 do
53 [ -d $install/usr/share/locale/$locale ] || continue
54 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
55 done
57 cd $fs/usr/lib/compiz; rm -f *.a *.la
58 }