mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
main/dconf: modernize abuild
This commit is contained in:
parent
756a6afe7c
commit
2e7ec437fe
@ -8,40 +8,25 @@ 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
|
||||
"
|
||||
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
|
||||
}
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
|
||||
build () {
|
||||
cd "$_builddir"
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--libexecdir=/usr/lib/dconf \
|
||||
|| return 1
|
||||
--libexecdir=/usr/lib/dconf
|
||||
make V=1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
md5sums="7fc3cb1cf22d904d8744bd12e9c9d3dd dconf-0.26.0.tar.xz"
|
||||
sha256sums="8683292eb31a3fae31e561f0a4220d8569b0f6d882e9958b68373f9043d658c9 dconf-0.26.0.tar.xz"
|
||||
sha512sums="ea225397a486815c90a113c064d943f113490dfc754e4acba049b033115aa3a6a3849a5cdc133663de09811cde41c963041bc244cfd9ed32d65399889e415d1e dconf-0.26.0.tar.xz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user