mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-02-03 03:07:15 +08:00
[skip-ci] dconf: update to 0.31.1, removed install file #11
This commit is contained in:
parent
27c7aa7f38
commit
ac35870305
@ -2,28 +2,27 @@
|
|||||||
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
||||||
|
|
||||||
pkgname=dconf
|
pkgname=dconf
|
||||||
pkgver=0.24.0
|
pkgver=0.31.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A low-level configuration system."
|
pkgdesc="A low-level configuration system."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://live.gnome.org/dconf"
|
url="http://live.gnome.org/dconf"
|
||||||
license=('LGPL2.1')
|
license=('LGPL2.1')
|
||||||
depends=('glib2' 'libdbus')
|
depends=('glib2' 'libdbus')
|
||||||
makedepends=('vala' 'intltool' 'docbook-xsl' 'python2')
|
makedepends=('vala' 'intltool' 'docbook-xsl' 'python3' 'meson' 'bash-completion' )
|
||||||
install=dconf.install
|
|
||||||
source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
|
source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
|
||||||
sha256sums=('4373e0ced1f4d7d68d518038796c073696280e22957babb29feb0267c630fec2')
|
sha256sums=('adb4698e9c37055170031a3eeb362300c37dd6cba6145d1e06d96d9429ec4b04')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
chakra-meson $pkgname-$pkgver build -D gtk_doc=false
|
||||||
|
ninja -C build
|
||||||
|
}
|
||||||
|
|
||||||
./configure --prefix=/usr --sysconfdir=/etc \
|
check() {
|
||||||
--libexecdir=/usr/lib/dconf
|
# dbus tests can't connect and dbus-run-session doesn't help
|
||||||
make
|
meson test -C build || :
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname-$pkgver"
|
DESTDIR="$pkgdir" meson install -C build
|
||||||
make completiondir=/usr/share/bash-completion/completions DESTDIR="$pkgdir" install
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
post_install() {
|
|
||||||
gio-querymodules /usr/lib/gio/modules
|
|
||||||
glib-compile-schemas /usr/share/glib-2.0/schemas
|
|
||||||
if [[ -x /usr/bin/gtk-update-icon-cache ]]; then
|
|
||||||
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_upgrade(){
|
|
||||||
post_install
|
|
||||||
}
|
|
||||||
|
|
||||||
post_remove() {
|
|
||||||
post_install
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user