pine64-pinephone: add workaround for purging the -elogind subpackage (MR 1660)

This subpackage was removed when a proper fix for suspend was merged,
however apk doesn't know to purge this subpackage, so the old elogind
hook workaround stuck around. This workaround could probably be removed
once we're sure all folks on edge have installed this upgraded package
with the 'provides'...
This commit is contained in:
clayton craft 2020-10-28 22:29:48 -07:00
parent c60dd3e80e
commit 737f33e561
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -4,7 +4,7 @@
# Co-Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=device-pine64-pinephone
pkgver=0.10
pkgrel=2
pkgrel=3
pkgdesc="PINE64 PinePhone"
url="https://postmarketos.org"
license="MIT"
@ -28,6 +28,9 @@ source="deviceinfo
eg25.initd
setup-modem.sh
"
# workaround to purge the -elogind subpackage that was previously
# created/installed
provides="$pkgname-elogind=$pkgver-r$pkgrel"
build() {
devicepkg_build $startdir $pkgname