wok view desktop-file-utils/receipt @ rev 25494

Add finch & btop (thanks ceel)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 30 08:50:05 2022 +0000 (23 months ago)
parents 7e911016a644
children
line source
1 # SliTaz package receipt.
3 PACKAGE="desktop-file-utils"
4 VERSION="0.26"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for .desktop files (update-desktop-database)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/desktop-file-utils/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://www.freedesktop.org/software/desktop-file-utils/releases/$TARBALL"
14 DEPENDS="gcc83-lib-base glib glibc-base pcre"
15 BUILD_DEPENDS="gcc83 glib-dev meson pkg-config"
17 SPLIT="desktop-file-utils-extra"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed '/utils-/!d;s|.*utils-||;s|.tar.*||' | sed '$!d'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export CC=gcc-83
29 export CXX=g++-83
31 meson _build \
32 --prefix=/usr &&
33 ninja -C _build &&
34 ninja -C _build install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files update-desktop-database
41 }