wok view mate-notification-daemon/receipt @ rev 25694

dropbear: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 14:12:01 2024 +0000 (7 weeks ago)
parents ee53899c6189
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-notification-daemon"
4 VERSION="1.13.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Fork of gnome-notification-daemon"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/mate-desktop/mate-notification-daemon/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
12 PROVIDE="notification-daemon"
13 TAGS="MATE"
15 DEPENDS="gtk+ libcanberra libltdl libnotify libwnck"
16 BUILD_DEPENDS="autoconf automake libtool gtk+-dev dbus-dev dbus-glib-dev \
17 libcanberra-dev libwnck-dev libnotify-dev intltool"
18 GENERIC_MENUS="no"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 sed -i '/^MATE_/d' configure.ac # build standalone without MATE
32 mkdir macros; autoreconf --install --force
33 intltoolize; autoreconf
34 ./configure \
35 --prefix=/usr \
36 --sysconfdir=/etc \
37 $CONFIGURE_ARGS &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 find $fs/usr/lib -name '*.*a' -delete
46 rm -r $fs/usr/share/locale
47 sed -i '/^OnlyShowIn/d' $fs/usr/share/applications/mate-notification-properties.desktop
48 #find $fs/usr/share/man -type f -exec gzip \{\} \;
49 rm -rf $fs/usr/share/man
50 }