aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-05-23 20:02:40 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-05-23 20:02:40 -0300
commite865e6a36543852cd872afc641ff504e091fb6af (patch)
tree3e4d3e65f2e8f94c356eda301848c381b6e3b470
parent8a5eb594314fdefa817f16d36ca0754e2d0cfc3b (diff)
downloadaports-e865e6a36543852cd872afc641ff504e091fb6af.tar.gz
aports-e865e6a36543852cd872afc641ff504e091fb6af.tar.bz2
aports-e865e6a36543852cd872afc641ff504e091fb6af.tar.xz
community/xfce-polkit: modernize
-rw-r--r--community/xfce-polkit/APKBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/community/xfce-polkit/APKBUILD b/community/xfce-polkit/APKBUILD
index eb43d8a172..a06dbafb7d 100644
--- a/community/xfce-polkit/APKBUILD
+++ b/community/xfce-polkit/APKBUILD
@@ -1,24 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce-polkit
pkgver=0.3
-pkgrel=0
+pkgrel=1
pkgdesc="A simple PolicyKit authentication agent for XFCE"
url="https://github.com/ncopa/xfce-polkit"
arch="all"
-license="GPL-2.0"
+license="GPL-2.0-only"
makedepends="libxfce4ui-dev polkit-dev glib-dev gtk+3.0-dev autoconf automake"
-source="https://github.com/ncopa/xfce-polkit/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="https://github.com/ncopa/xfce-polkit/releases/download/v$pkgver/xfce-polkit-$pkgver.tar.gz"
prepare() {
- cd "$builddir"
- aclocal
- autoconf
- automake --add-missing
+ default_prepare
+ autoreconf -fi
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -30,7 +26,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}