From c8a79d6fa6a4235c87b28a2b696c868d79a42eef Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 10 Nov 2020 15:23:10 +0100 Subject: [PATCH] main/postmarketos-base: fix install_if for subpkgs (MR 1713) Instead of install_if="$pkgname xorg-server" etc, it should be install_if="$pkgname=$pkgver-r$pkgrel xorg-server". Reference: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#install_if --- main/postmarketos-base/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/postmarketos-base/APKBUILD b/main/postmarketos-base/APKBUILD index 817bcadce..18b95d7a2 100644 --- a/main/postmarketos-base/APKBUILD +++ b/main/postmarketos-base/APKBUILD @@ -1,6 +1,6 @@ pkgname=postmarketos-base pkgver=5 -pkgrel=0 +pkgrel=1 pkgdesc="Meta package for minimal postmarketOS base" url="https://postmarketos.org" arch="noarch" @@ -62,7 +62,7 @@ package() { } x11() { - install_if="$pkgname xorg-server" + install_if="$pkgname=$pkgver-r$pkgrel xorg-server" depends=" libinput xf86-input-libinput @@ -71,7 +71,7 @@ x11() { } elogind() { - install_if="$pkgname elogind" + install_if="$pkgname=$pkgver-r$pkgrel elogind" install="$subpkgname.post-install" mkdir "$subpkgdir"