summaryrefslogtreecommitdiff
path: root/user/consolekit2/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/consolekit2/APKBUILD')
-rw-r--r--user/consolekit2/APKBUILD9
1 files changed, 2 insertions, 7 deletions
diff --git a/user/consolekit2/APKBUILD b/user/consolekit2/APKBUILD
index 3c7e5035b..084504191 100644
--- a/user/consolekit2/APKBUILD
+++ b/user/consolekit2/APKBUILD
@@ -5,16 +5,14 @@ pkgname=consolekit2
pkgver=1.2.1
pkgrel=1
pkgdesc="Framework for defining and tracking users, login sessions, and seats"
-provides="consolekit=$pkgver"
-replaces="consolekit"
-arch="all"
url="https://consolekit2.github.io/ConsoleKit2"
+arch="all"
license="GPL-2.0+"
depends="eudev polkit"
+checkdepends="libxml2-utils"
makedepends="acl-dev docbook-xml eudev-dev glib-dev libdrm-dev libevdev-dev
libnih-dev libxslt-dev linux-pam-dev polkit-dev xmlto xorg-server-dev
zlib-dev"
-checkdepends="libxml2-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-openrc"
source="https://github.com/ConsoleKit2/$pkgbase/releases/download/$pkgver/$pkgbase-$pkgver.tar.bz2
consolekit2.initd
@@ -24,7 +22,6 @@ source="https://github.com/ConsoleKit2/$pkgbase/releases/download/$pkgver/$pkgba
builddir="$srcdir"/$pkgbase-$pkgver
build() {
- cd "$builddir"
XMLTO_FLAGS='--skip-validation' ./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -40,12 +37,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -m 755 "$srcdir"/pam-foreground-compat.ck \
"$pkgdir"/usr/lib/ConsoleKit/run-session.d/