summaryrefslogblamecommitdiff
path: root/user/gsettings-desktop-schemas/APKBUILD
blob: 47bf9ddf4634e664ba659b8cfdf64a4e49e50b3c (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                 
             



                                                              
                   

                                                                     



                                                                                         



                                                             

                                 


         
                           


           
                                                




                          




                                                             
                                                                                                                                                                                      
# Maintainer: 
pkgname=gsettings-desktop-schemas
pkgver=3.34.0
pkgrel=0
pkgdesc="GSettings schemas shared by GNOME desktop components"
url="https://developer.gnome.org/gio/unstable/GSettings.html"
arch="noarch"
license="LGPL-2.0+"
makedepends="glib-dev gobject-introspection-dev intltool meson ninja"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

prepare() {
	default_prepare
	sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in
}

build() {
	meson -Dprefix=/usr build
	ninja -C build
}

check() {
	ninja -C build test
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

dev() {	
	default_dev
	depends="$pkgname"
	mkdir -p "$subpkgdir"/usr/lib
	mv "$pkgdir"/usr/share/pkgconfig "$subpkgdir"/usr/lib
}


sha512sums="6cbe59facf77566ed93faabafc6b00ad03fb398a9a4686ba94a08b1c2d0df1d44bd673fb4d51340209a66ebc0aa32095615e7e63b78f4cc4c10d240a7b0a8fa1  gsettings-desktop-schemas-3.34.0.tar.xz"