mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 00:02:17 +01:00
54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=dconf
|
|
pkgver=0.10.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"
|
|
install=
|
|
subpackages="$pkgname-editor"
|
|
source="http://download.gnome.org/sources/dconf/${pkgver%.*}/dconf-$pkgver.tar.bz2
|
|
"
|
|
|
|
# 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 --prefix=/usr \
|
|
--libexecdir=/usr/lib/dconf
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
editor() {
|
|
pkgdesc="Configuration editor for dconf"
|
|
mkdir -p "$subpkgdir"/usr/bin \
|
|
"$subpkgdir"/usr/share/applications \
|
|
|| return 1
|
|
mv "$pkgdir"/usr/bin/dconf-editor "$subpkgdir"/usr/bin/ || return 1
|
|
mv "$pkgdir"/usr/share/dconf-editor "$subpkgdir"/usr/share/ || return 1
|
|
mv "$pkgdir"/usr/share/applications/dconf-editor.desktop \
|
|
"$subpkgdir"/usr/share/applications/ || return 1
|
|
}
|
|
md5sums="58278e0d8053a26813e5ccc416f7fcfe dconf-0.10.0.tar.bz2"
|