summaryrefslogtreecommitdiff
path: root/user/mate-polkit/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-23 20:56:33 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-23 20:56:33 -0500
commite4b23d5bdd05394cdc7dce28fab8763f4500a909 (patch)
treeaa16d86a952b92ad7f807758f281b68776a0393d /user/mate-polkit/APKBUILD
parent99cc5cb7c61f1382964c19384ba07cf022ec74f1 (diff)
downloadpackages-e4b23d5bdd05394cdc7dce28fab8763f4500a909.tar.gz
packages-e4b23d5bdd05394cdc7dce28fab8763f4500a909.tar.bz2
packages-e4b23d5bdd05394cdc7dce28fab8763f4500a909.tar.xz
packages-e4b23d5bdd05394cdc7dce28fab8763f4500a909.zip
user/mate-polkit: new package
Diffstat (limited to 'user/mate-polkit/APKBUILD')
-rw-r--r--user/mate-polkit/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/mate-polkit/APKBUILD b/user/mate-polkit/APKBUILD
new file mode 100644
index 000000000..345159cbc
--- /dev/null
+++ b/user/mate-polkit/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=mate-polkit
+pkgver=1.22.0
+pkgrel=0
+pkgdesc="PolKit integration for the MATE desktop environment"
+url="https://mate-desktop.org"
+arch="all"
+license="LGPL-2.0+"
+depends=""
+makedepends="gtk+3.0-dev intltool polkit-dev"
+subpackages="$pkgname-lang"
+source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-polkit-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e761ec10842789b5bbb3831f568c64e969429131a893850e8323927b949e115a24b3907fd3def7f31f5f785f0831717d852c61f08a9028a009ea9cca0ba86393 mate-polkit-1.22.0.tar.xz"