mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 16:37:13 +08:00
gsettings-desktop-schemas: added to repository
This commit is contained in:
parent
a3cf4530cc
commit
ed8982bd9c
25
gsettings-desktop-schemas/PKGBUILD
Normal file
25
gsettings-desktop-schemas/PKGBUILD
Normal 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
|
||||
}
|
11
gsettings-desktop-schemas/gsettings-desktop-schemas.install
Normal file
11
gsettings-desktop-schemas/gsettings-desktop-schemas.install
Normal file
@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in New Issue
Block a user