aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-05-14 11:56:20 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-09 10:21:56 +0000
commit2e7ec437fec45f41784725703429ccf53f7eeef2 (patch)
treeff85f39d9c9643ed26c91c40b6beb86f62a53a11
parent756a6afe7c5faffd1703d02c5baf8e41d1fa49a9 (diff)
downloadaports-2e7ec437fec45f41784725703429ccf53f7eeef2.tar.gz
aports-2e7ec437fec45f41784725703429ccf53f7eeef2.tar.bz2
aports-2e7ec437fec45f41784725703429ccf53f7eeef2.tar.xz
main/dconf: modernize abuild
-rw-r--r--main/dconf/APKBUILD27
1 files changed, 6 insertions, 21 deletions
diff --git a/main/dconf/APKBUILD b/main/dconf/APKBUILD
index 0b34117899..a82fb1e78c 100644
--- a/main/dconf/APKBUILD
+++ b/main/dconf/APKBUILD
@@ -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"