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



                                                              
                   
          

                                                                     



                                                                                         
                                                             

                                                           


         

                                 


         
                           


           
                                                

 
                                                                                                                                                                                      
# Maintainer: Sheila Aman <sheila@vulpine.house> 
pkgname=gsettings-desktop-schemas
pkgver=3.38.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+"
depends=""
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
	# Correct pkgconfig install path
	sed -i "/install_dir/s,datadir,libdir," meson.build
}

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

check() {
	ninja -C build test
}

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

sha512sums="5af7da90b8e7eec1c98e9e44653955f2882961dd9b5e2bf00e4eeb9f4f1149ae5171c600d457c6ab9c7482471c1a0e98f92f645a7ee7298e1b843c608f660756  gsettings-desktop-schemas-3.38.0.tar.xz"