summaryrefslogtreecommitdiff
path: root/user/consolekit2
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 07:47:12 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-28 07:47:12 -0600
commit4291474e5c51000a505fc9fc52afd6b028bf2ac6 (patch)
tree3575252e2c361eb4ca8721f6d5060b8a995e758f /user/consolekit2
parentc84d539dee8793217e08047149e040dba3e5d4a5 (diff)
downloadpackages-4291474e5c51000a505fc9fc52afd6b028bf2ac6.tar.gz
packages-4291474e5c51000a505fc9fc52afd6b028bf2ac6.tar.bz2
packages-4291474e5c51000a505fc9fc52afd6b028bf2ac6.tar.xz
packages-4291474e5c51000a505fc9fc52afd6b028bf2ac6.zip
user/consolekit2: modernise, drop years-old provides/replaces
Diffstat (limited to 'user/consolekit2')
-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/