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

                                 
             




                                                              

                                                                     









                                                                                         


                                  


         

                            


           

                                       










                                                             
                                                                                                                                                                                      
# Maintainer: 
pkgname=gsettings-desktop-schemas
pkgver=3.32.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-or-later"
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
	cd "$builddir"
	sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in
}

build() {
	cd "$builddir"
	mkdir -p build && cd build
	meson -Dprefix=/usr ..
	ninja
}

check() {
	cd "$builddir"/build
	ninja test
}

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" ninja install
}

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


sha512sums="cf1d78a8f9f1697e20c995286b50d556c2ecc83bf4b28be19b3258a724494a2827fb9567cabf29cda1c590488fd2645e905072e08321766c8bdddd22ac3710dc  gsettings-desktop-schemas-3.32.0.tar.xz"