blob: 83bdc123e787e61f1b090ab5a24218c512856872 (
plain) (
tree)
|
|
# Maintainer:
pkgname=gsettings-desktop-schemas
pkgver=3.28.1
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"
subpackages="$pkgname-dev"
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"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
}
dev() {
default_dev
depends="$pkgname"
cd "$builddir"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/share/pkgconfig "$subpkgdir"/usr/lib
}
sha512sums="2bf3260e976943e9d1e51feda62ef1e432870a6d9b34881afbdf99ddbe4954e5dd679697e152e793a0b38492dbbc4891018f7aa8cd4e703d05a8647cc5a56785 gsettings-desktop-schemas-3.28.1.tar.xz"
|