From 4291474e5c51000a505fc9fc52afd6b028bf2ac6 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 28 Dec 2019 07:47:12 -0600 Subject: user/consolekit2: modernise, drop years-old provides/replaces --- user/consolekit2/APKBUILD | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'user/consolekit2/APKBUILD') 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/ -- cgit v1.2.3-70-g09d2