wok view mate-panel/receipt @ rev 25690

mmv: inserted current_version()
author Hans-G?nter Theisgen
date Mon Apr 15 15:20:24 2024 +0100 (6 weeks ago)
parents 73f36875e5a7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-panel"
4 VERSION="1.9.1"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="Panel where you can run applications and applets using MATE."
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"
12 TAGS="MATE"
13 DEPENDS="gtk+ dconf mate-menus caja libmateweather marco \
14 mate-desktop mate-session-manager"
15 BUILD_DEPENDS="wget dconf-dev autoconf automake libtool itstool \
16 gtk+-dev mate-common-dev mate-desktop-dev mate-menus-dev yelp-tools \
17 harfbuzz-dev gtk-doc gobject-introspection-dev dbus-glib-dev \
18 libcanberra-dev libwnck-dev librsvg-dev util-linux-uuid-dev \
19 libmateweather-dev libsoup-dev sqlite-dev libcroco-dev"
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 --sysconfdir=/etc \
34 --localstatedir=/var \
35 --disable-introspection\
36 --disable-static \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share $fs/usr
47 cp -a $install/usr/libexec $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 rm -rf $install/usr/share/help
51 # Autostart
52 mkdir -p $fs/etc/xdg/autostart/
53 cp -a $install/usr/share/applications/* $fs/etc/xdg/autostart/
54 }