aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/xfce-polkit/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/testing/xfce-polkit/APKBUILD b/testing/xfce-polkit/APKBUILD
index 7b399394f5..846fd68a77 100644
--- a/testing/xfce-polkit/APKBUILD
+++ b/testing/xfce-polkit/APKBUILD
@@ -6,17 +6,19 @@ pkgdesc="A simple PolicyKit authentication agent for XFCE"
url="https://github.com/ncopa/xfce-polkit"
arch="all"
license="GPL2"
-depends=""
-depends_dev=""
-makedepends="$depends_dev libxfce4ui-dev polkit-dev glib-dev gtk+2.0-dev autoconf automake"
-source="https://github.com/ncopa/xfce-polkit/releases/download/v$pkgver/xfce-polkit-$pkgver.tar.gz"
-
+makedepends="libxfce4ui-dev polkit-dev glib-dev gtk+2.0-dev autoconf automake"
+source="https://github.com/ncopa/xfce-polkit/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
-build() {
+
+prepare() {
cd "$builddir"
aclocal
autoconf
automake --add-missing
+}
+
+build() {
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \