blob: 8cbe1ddf38277697aac64321c762b87d945ef660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dconf
pkgver=0.22.0
pkgrel=0
pkgdesc="A low-level configuration system."
url="http://live.gnome.org/dconf"
arch="all"
license="LGPL2.1"
depends=""
makedepends="vala gobject-introspection-dev gtk+3.0-dev glib-dev libxml2-dev
dbus-dev libxslt docbook-xsl"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-editor $pkgname-lang"
source="http://download.gnome.org/sources/dconf/${pkgver%.*}/dconf-$pkgver.tar.xz
"
# 0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch)
patch -p1 -i "$srcdir/$i" || return 1
;;
esac
done
}
build () {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--libexecdir=/usr/lib/dconf \
|| return 1
make V=1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
editor() {
pkgdesc="Configuration editor for dconf"
mkdir -p "$subpkgdir"/usr/bin \
"$subpkgdir"/usr/share \
|| return 1
mv "$pkgdir"/usr/bin/dconf-editor "$subpkgdir"/usr/bin/ || return 1
mv "$pkgdir"/usr/share/applications \
"$pkgdir"/usr/share/icons \
"$pkgdir"/usr/share/glib-2.0 \
"$subpkgdir"/usr/share/ || return 1
}
md5sums="5459a539ffc483f9c002ddeab626a64e dconf-0.22.0.tar.xz"
sha256sums="0a277cb0c3f09e77d9413c5a9b3577fc2b5d6e941b59b44940392e024a224b8e dconf-0.22.0.tar.xz"
sha512sums="fee502b599da3634934eadc3d9fc138f2036118e88edadf0e3dc157f8e689ee1fee057342a296197b126e5f657fcb2bb1f399b6a3ffa9ff5fdcc3119d9433d9b dconf-0.22.0.tar.xz"
|