wok-6.x annotate gsettings-desktop-schemas/receipt @ rev 25484

created recipe for py3k-cryptography
author Hans-G?nter Theisgen
date Mon Oct 17 07:58:57 2022 +0100 (2022-10-17)
parents 6831608a1b2a
children
rev   line source
al@13522 1 # SliTaz package receipt.
al@13522 2
al@13522 3 PACKAGE="gsettings-desktop-schemas"
Hans-G?nter@24628 4 VERSION="41.0"
al@13522 5 CATEGORY="x-window"
Hans-G?nter@21005 6 SHORT_DESC="Collection of GSettings schemas for settings shared by various components of a GNOME Desktop."
al@13522 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14996 8 LICENSE="LGPL2.1"
Hans-G?nter@21005 9 WEB_SITE="https://www.gnome.org/"
Hans-G?nter@21005 10
Hans-G?nter@24628 11 SUGGESTED="gsettings-desktop-schemas-lang"
al@13522 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21005 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
al@13522 14
pascal@14996 15 DEPENDS=""
Hans-G?nter@22884 16 BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev meson ninja"
pascal@14996 17
pascal@24111 18 current_version()
pascal@24111 19 {
pascal@24111 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 22 }
pascal@24111 23
al@13522 24 # Rules to configure and make the package.
al@13522 25 compile_rules()
al@13522 26 {
Hans-G?nter@24628 27 meson _build \
Hans-G?nter@24628 28 --prefix=/usr &&
Hans-G?nter@24628 29 ninja -C _build &&
Hans-G?nter@24628 30 ninja -C _build install
al@13522 31 }
al@13522 32
al@13522 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13522 34 genpkg_rules()
al@13522 35 {
Hans-G?nter@22883 36 cp -a $install/usr $fs
Hans-G?nter@24628 37 # moved to package gsettings-desktop-schemas-lang
Hans-G?nter@24628 38 rm -r $fs/usr/share/locale
al@13522 39 }