wok view lxqt-notificationd/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-notificationd"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="The LXQt notification daemon"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-notificationd"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="libQtCore libQtDBus libQtGui libqtxdg liblxqt"
15 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake libqtxdg-dev liblxqt-dev \
16 xorg-libX11-dev grep libQtMimeTypes-dev sdft"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build; cd build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
30 make &&
31 make DESTDIR=$install install
33 sdft $install/usr/share/applications/lxqt-config-notificationd.desktop \
34 -i -r "Name[ru_RU]" \
35 -s "Name[ru]=Настройка уведомлений LXQt"
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 }