blob: 17f9058a7298cbc4ce2f00611034eaa37bdff24e (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dconf
pkgver=0.24.0
pkgrel=1
pkgdesc="A low-level configuration system."
url="http://live.gnome.org/dconf"
arch="all"
license="LGPL2.1"
depends=""
makedepends="glib-dev dbus-dev docbook-xsl vala"
install=
subpackages="$pkgname-dev $pkgname-doc"
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
}
md5sums="9bd257ba5b718f484fa0f4ab6e81e53b dconf-0.24.0.tar.xz"
sha256sums="4373e0ced1f4d7d68d518038796c073696280e22957babb29feb0267c630fec2 dconf-0.24.0.tar.xz"
sha512sums="8c2092f1a3002df386686473e6841d600665b3d2ae0e24625c9943b1a636706ecafc31e05f0db48958bbfd666680bb107f47978a9d867b151d1c61fc3c3b591a dconf-0.24.0.tar.xz"
|