mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-23 14:42:26 +02:00
60 lines
1.6 KiB
Plaintext
60 lines
1.6 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=dconf
|
|
pkgver=0.16.1
|
|
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-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/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="1f17e92511a21240ab5a56e4523f77da dconf-0.16.1.tar.xz"
|
|
sha256sums="a551d04d06599ee9adde500c71ad8567d68f45420b6dbca10ca51e2834d80fee dconf-0.16.1.tar.xz"
|
|
sha512sums="8ec267fd8e769da4e4316e697e76eeb228ad2699e7aad8b2d1034314073c650ac880449a8be79e5c86ba263db89a12eabc1cd40bbb1edf0b0c710e2e32567f78 dconf-0.16.1.tar.xz"
|