wok-current view gsettings-desktop-schemas/receipt @ rev 25728
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:39:45 2024 +0000 (2 weeks ago) |
parents | 290e2045aaea |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gsettings-desktop-schemas"
4 VERSION="41.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Collection of GSettings schemas for settings shared by various components of a GNOME Desktop."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.gnome.org/"
11 SUGGESTED="gsettings-desktop-schemas-lang"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev meson ninja"
18 HOST_ARCH="i486 x86_64"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 meson _build \
30 --prefix=/usr &&
31 ninja -C _build &&
32 ninja -C _build install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 # moved to package gsettings-desktop-schemas-lang
40 rm -r $fs/usr/share/locale
41 }