aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-01-05 16:50:14 +0100
committerLeo <thinkabit.ukim@gmail.com>2021-01-05 17:02:55 +0000
commit6a10e81cb0912506a6ad895ac4f03474a8c6e8d2 (patch)
tree3a3287798806e4be6019a97a1c7a5241f1efe779
parentdb98d66e82b315d2c18eca02018352e6155fd868 (diff)
downloadaports-6a10e81cb0912506a6ad895ac4f03474a8c6e8d2.tar.gz
aports-6a10e81cb0912506a6ad895ac4f03474a8c6e8d2.tar.bz2
aports-6a10e81cb0912506a6ad895ac4f03474a8c6e8d2.tar.xz
community/consolekit2: upgrade to 1.2.2
-rw-r--r--community/consolekit2/APKBUILD39
1 files changed, 26 insertions, 13 deletions
diff --git a/community/consolekit2/APKBUILD b/community/consolekit2/APKBUILD
index dddb8df371..c8a896fe6b 100644
--- a/community/consolekit2/APKBUILD
+++ b/community/consolekit2/APKBUILD
@@ -1,9 +1,8 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
-pkgbase=ConsoleKit2
pkgname=consolekit2
-pkgver=1.2.1
-pkgrel=2
+pkgver=1.2.2
+pkgrel=0
pkgdesc="Framework for defining and tracking users, login sessions, and seats"
provides="consolekit=$pkgver"
replaces="consolekit"
@@ -11,13 +10,26 @@ arch="all !mips !mips64 !s390x" # polkit
url="https://consolekit2.github.io/ConsoleKit2"
license="GPL-2.0-or-later"
depends="polkit eudev"
-makedepends="git automake autoconf gettext-dev glib-dev zlib-dev libxslt-dev
- polkit-dev eudev-dev libdrm-dev libnih-dev libtool xorg-server-dev"
-source="$pkgname-$pkgver.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz
- 0001-busybox-reboot-and-poweroff-support.patch
- pam-foreground-compat.ck"
+makedepends="
+ autoconf
+ automake
+ eudev-dev
+ gettext-dev
+ glib-dev
+ libdrm-dev
+ libnih-dev
+ libtool
+ libxslt-dev
+ polkit-dev
+ xorg-server-dev
+ zlib-dev
+ "
+source="https://github.com/ConsoleKit2/ConsoleKit2/archive/$pkgver/ConsoleKit2-$pkgver.tar.gz
+ 0001-busybox-reboot-and-poweroff-support.patch
+ pam-foreground-compat.ck
+ "
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-builddir="$srcdir"/$pkgbase-$pkgver
+builddir="$srcdir/ConsoleKit2-$pkgver"
options="!check" #no testsuite provided
prepare() {
@@ -26,19 +38,20 @@ prepare() {
}
build() {
- cd "$builddir"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -m 755 "$srcdir"/pam-foreground-compat.ck \
"$pkgdir"/usr/lib/ConsoleKit/run-session.d/
}
-sha512sums="b62a43b2748b9302b86847a3c4c84f931d7df9fef028dffbad091dd7b176c57109adec65e49f9f8a3c5e5e03a5d9b29f8b96e3328f9b9bfb32fd767fceecde81 consolekit2-1.2.1.tar.gz
+sha512sums="7f9a4c77c7991b7a3751605f58f12bb079660fe974aeec385a9753dc4b33241052153b9a9261effc91e86323e8a9dcbc9269c4829b871ab91ef286506ff3b18b ConsoleKit2-1.2.2.tar.gz
ec0c88e640afac0561c84131d63fa8c9e2e29611b789ae5c163cd11465b22017602d88dc853866624f57bce2ee466ab63af075d083a9ba6e87327ad8d0a0769f 0001-busybox-reboot-and-poweroff-support.patch
3b114fbbe74cfba0bfd4dad0eb1b85d08b4979a998980c1cbcd7f44b8a16b0ceca224680d4f4a1644cd24698f8817e5e8bdfcdc4ead87a122d0e323142f47910 pam-foreground-compat.ck"