wok view gsettings-desktop-schemas/receipt @ rev 24111
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 17:26:43 2021 +0000 (2021-09-28) |
parents | b8ba1ff08a50 |
children | 290e2045aaea |
line source
1 # SliTaz package receipt.
3 PACKAGE="gsettings-desktop-schemas"
4 VERSION="3.34.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 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev meson ninja"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 meson build --prefix=/usr &&
27 ninja -C build &&
28 ninja -C build install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }