diff --git a/pkg.info b/pkg.info index b68f200..136bd88 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: gsettings-desktop-schemas description: GSettings schemas for GNOME desktop components version: "50.1" -revision: 1 +revision: 2 url: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas license: LGPL2.1-or-later maintainers: @@ -9,11 +9,12 @@ maintainers: architecture: any output_architecture: any type: source +depends: + - dconf make_depends: - glib - gobject-introspection - meson - - python-setuptools downloads: - url: https://download.gnome.org/sources/gsettings-desktop-schemas/${BPM_PKG_VERSION%.*}/gsettings-desktop-schemas-${BPM_PKG_VERSION}.tar.xz extract_to: ${BPM_SOURCE} diff --git a/source.sh b/source.sh index 071a38b..87ce385 100644 --- a/source.sh +++ b/source.sh @@ -5,18 +5,14 @@ # The build function is executed in the source directory # This function is used to compile the source code build() { - mkdir build - cd build - - meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release .. + meson setup build --prefix=/usr --libdir=/usr/lib } # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { - cd build - DESTDIR="$BPM_OUTPUT" ninja install - glib-compile-schemas "$BPM_OUTPUT"/usr/share/glib-2.0/schemas + meson install -C build --destdir="$BPM_OUTPUT" + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gsettings-desktop-schemas/COPYING }