From 2d2a803009921ce69c774f4177e565d84abd5260 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Sat, 13 Aug 2016 17:54:49 +0000 Subject: main/polkit-gnome: fix build aarch64 --- main/polkit-gnome/APKBUILD | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'main/polkit-gnome/APKBUILD') diff --git a/main/polkit-gnome/APKBUILD b/main/polkit-gnome/APKBUILD index a5f1030678..343a2509de 100644 --- a/main/polkit-gnome/APKBUILD +++ b/main/polkit-gnome/APKBUILD @@ -14,19 +14,15 @@ subpackages="$pkgname-lang" source="http://download.gnome.org/sources/polkit-gnome/$pkgver/polkit-gnome-$pkgver.tar.xz polkit-gnome-authentication-agent-1.desktop" -_builddir="$srcdir"/polkit-gnome-$pkgver +builddir="$srcdir"/polkit-gnome-$pkgver + prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare || return 1 + update_config_guess || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -38,7 +34,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 "${srcdir}/polkit-gnome-authentication-agent-1.desktop" \ "${pkgdir}/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop" -- cgit v1.2.3