aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 21:23:02 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-24 23:32:56 -0300
commitbecd552592a7f90deb7866f7031368c903e24b55 (patch)
treec3f17490b25ae1ec86e7681d99a018518e8f9520
parent809aedeeb1eb30a519ae3c4324109201e093830b (diff)
downloadaports-becd552592a7f90deb7866f7031368c903e24b55.tar.gz
aports-becd552592a7f90deb7866f7031368c903e24b55.tar.bz2
aports-becd552592a7f90deb7866f7031368c903e24b55.tar.xz
community/polkit-gnome: modernize
-rw-r--r--community/polkit-gnome/APKBUILD22
1 files changed, 7 insertions, 15 deletions
diff --git a/community/polkit-gnome/APKBUILD b/community/polkit-gnome/APKBUILD
index 04e8c3602c..be32282a8e 100644
--- a/community/polkit-gnome/APKBUILD
+++ b/community/polkit-gnome/APKBUILD
@@ -6,38 +6,30 @@ pkgdesc="PolicyKit integration for the GNOME desktop"
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
arch="all"
license="LGPL-2.0-or-later"
-depends=""
-depends_dev=""
makedepends="$depends_dev gtk+3.0-dev polkit-dev intltool"
-install=""
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/polkit-gnome/$pkgver/polkit-gnome-$pkgver.tar.xz
polkit-gnome-authentication-agent-1.desktop"
-builddir="$srcdir"/polkit-gnome-$pkgver
-
prepare() {
- default_prepare || return 1
- update_config_guess || return 1
+ default_prepare
+ update_config_guess
}
build() {
- cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --libexecdir=/usr/lib/polkit-gnome \
- || return 1
- make || return 1
+ --libexecdir=/usr/lib/polkit-gnome
+ make
}
package() {
- 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"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 "$srcdir/polkit-gnome-authentication-agent-1.desktop" \
+ "$pkgdir/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop"
}
sha512sums="eae2504959bca6f2b53dbad1b743fc0414b82897e62623af80ee74c4080a10d6b07a4c90151ee1264891f27373321b8697ac8a747cba5254c765b4cd9161bd42 polkit-gnome-0.105.tar.xz