wok view caja/receipt @ rev 25602
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 18 09:27:49 2023 +0000 (15 months ago) |
parents | 73f36875e5a7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="caja"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="MATE file manager."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 DEPENDS="gtk+ mate-desktop dconf exempi gvfs libunique"
14 BUILD_DEPENDS="wget dbus-dev dconf-dev cacerts autoconf automake libtool itstool \
15 gtk+-dev gtk-doc mate-common-dev mate-desktop-dev mate-icon-theme libunique-dev \
16 gvfs-dev desktop-file-utils gobject-introspection-dev util-linux-uuid-dev"
17 SUGGESTED="gvfs-smb"
19 TAGS="MATE file-manager"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./autogen.sh \
32 --prefix=/usr \
33 --libexecdir=/usr/lib/$PACKAGE \
34 --enable-introspection \
35 --enable-unique \
36 --disable-static \
37 --disable-update-mimedb \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install
41 }
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share/$PACKAGE
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/$PACKAGE/* $fs/usr/lib/$PACKAGE
49 cp -a $install/usr/share/$PACKAGE/* $fs/usr/share/$PACKAGE
51 mkdir -p $fs/usr/share/applications
52 cp -a $install/usr/share/applications/* $fs/usr/share/applications
54 mkdir -p $fs/usr/share/dbus-1
55 cp -a $install/usr/share/dbus-1/* $fs/usr/share/dbus-1
57 mkdir -p $fs/usr/share/pixmaps
58 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
59 $fs/usr/share/pixmaps
61 cp -a $install/usr/share/MateConf $fs/usr/share
62 cp -a $install/usr/share/glib-2.0 $fs/usr/share
63 }