wok-6.x view mate-notification-daemon/receipt @ rev 24213
updated perl-file-which (1.23 -> 1.27)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:19:09 2021 +0100 (2021-12-31) |
parents | 13806712bef0 |
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 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i '/^MATE_/d' configure.ac # build standalone without MATE
31 mkdir macros; autoreconf --install --force
32 intltoolize; autoreconf
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 $CONFIGURE_ARGS &&
37 make && make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 find $fs/usr/lib -name '*.*a' -delete
45 rm -r $fs/usr/share/locale
46 sed -i '/^OnlyShowIn/d' $fs/usr/share/applications/mate-notification-properties.desktop
47 #find $fs/usr/share/man -type f -exec gzip \{\} \;
48 rm -rf $fs/usr/share/man
49 }