diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 17:54:49 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-13 18:10:29 +0000 |
commit | 2d2a803009921ce69c774f4177e565d84abd5260 (patch) | |
tree | bcab8b49ae5a30596a7b36445c9f70cab2e3017d | |
parent | 43c99b7396427557dcdc340e2208979c1ae852d9 (diff) | |
download | aports-2d2a803009921ce69c774f4177e565d84abd5260.tar.bz2 aports-2d2a803009921ce69c774f4177e565d84abd5260.tar.xz |
main/polkit-gnome: fix build aarch64
-rw-r--r-- | main/polkit-gnome/APKBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
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" |