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
This commit is contained in:
Oliver Smith 2020-11-10 15:23:10 +01:00
parent 0105a1d8ef
commit c8a79d6fa6
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -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"