47 lines
1.4 KiB
Bash
47 lines
1.4 KiB
Bash
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||
|
# then please put 'unknown'.
|
||
|
|
||
|
# Maintainer: Future Linux Team <xhaa123@outlook.com>
|
||
|
pkgname=dconf
|
||
|
pkgver=0.40.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Configuration database system"
|
||
|
arch=('x86_64')
|
||
|
url="https://wiki.gnome.org/Projects/dconf"
|
||
|
license=('LGPL')
|
||
|
depends=('glibc')
|
||
|
makedepends=('vala' 'dbus' 'git' 'glib2' 'gtk-doc' 'python' 'meson' 'bash-completion')
|
||
|
backup=()
|
||
|
options=()
|
||
|
install=${pkgname}.install
|
||
|
source=(https://github.com/GNOME/dconf/archive/${pkgver}/${pkgname#*-}-${pkgver}.tar.gz
|
||
|
dconf-update
|
||
|
dconf-update.hook)
|
||
|
sha256sums=(SKIP
|
||
|
330142605370f82f4229e8a94b245f911407eb629b50f1497f415c70164a90ec
|
||
|
8d02176ff001a13d15a7ac087edd2502725494668933fa2c6e6f9cb21ae24e6b)
|
||
|
|
||
|
build() {
|
||
|
cd ${pkgname}-${pkgver}
|
||
|
|
||
|
${FUTURE_MESON} \
|
||
|
-D gtk_doc=true
|
||
|
|
||
|
meson compile -C build
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${pkgname}-${pkgver}
|
||
|
|
||
|
meson install -C build --destdir ${pkgdir}
|
||
|
|
||
|
install -Dt ${pkgdir}/usr/share/libalpm/hooks -m644 ${srcdir}/*.hook
|
||
|
install -Dt ${pkgdir}/usr/share/libalpm/scripts ${srcdir}/dconf-update
|
||
|
|
||
|
# Prevent this directory from getting removed when other
|
||
|
# packages which install files there get uninstalled
|
||
|
install -Dm644 /dev/null ${pkgdir}/etc/dconf/db/.placeholder
|
||
|
}
|