wok annotate lxqt-notificationd/receipt @ rev 25791

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