aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xfce-polkit/APKBUILD
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-09-06 16:06:48 -0300
committerTimo Teräs <timo.teras@iki.fi>2017-09-07 08:02:14 +0000
commit9b9078146ef5a64c53e4df613a2ba1dc1d6199be (patch)
treeeda4964d0037a8e2eb8706d97856ce4db30b63bb /testing/xfce-polkit/APKBUILD
parent5b1ca5b5b1379cab9ba1c22662b620d09f3ea0da (diff)
downloadaports-9b9078146ef5a64c53e4df613a2ba1dc1d6199be.tar.bz2
aports-9b9078146ef5a64c53e4df613a2ba1dc1d6199be.tar.xz
testing/xfce-polkit: move aclocal, autoconf, automake to prepare()
Diffstat (limited to 'testing/xfce-polkit/APKBUILD')
-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 \