gsettings-desktop-schemas: added to repository

This commit is contained in:
Francesco Marinucci 2017-06-05 22:14:11 +01:00
parent a3cf4530cc
commit ed8982bd9c
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,25 @@
pkgname=gsettings-desktop-schemas
pkgver=3.21.4
pkgrel=1
pkgdesc="Shared GSettings schemas for the desktop"
arch=('x86_64')
url="http://live.gnome.org/"
license=(GPL)
depends=('glib2')
makedepends=('intltool' 'gobject-introspection')
install=$pkgname.install
source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
sha256sums=('6d195bfe8d4af56b2cfb46417473ecad6e41b7254ff226bb9d20c8944310c15f')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-schemas-compile
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}

View File

@ -0,0 +1,11 @@
post_install() {
glib-compile-schemas /usr/share/glib-2.0/schemas
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}