# SliTaz package receipt. PACKAGE="gsettings-desktop-schemas" VERSION="41.0" CATEGORY="x-window" SHORT_DESC="Collection of GSettings schemas for settings shared by various components of a GNOME Desktop." MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://www.gnome.org/" SUGGESTED="gsettings-desktop-schemas-lang" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="" BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev meson ninja" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { meson _build \ --prefix=/usr && ninja -C _build && ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs # moved to package gsettings-desktop-schemas-lang rm -r $fs/usr/share/locale }