summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2019-05-15 23:31:44 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-12 12:24:44 +0000
commit40e6e9995bfe29918fb36eb53f58afab0ab51927 (patch)
treedfe2c119fb3ba7a09bd3f6d55fd5c800da5a51db
parent2122fa74760e4bd8632833f95732d058b5a8176a (diff)
downloadabuild-40e6e9995bfe29918fb36eb53f58afab0ab51927.tar.bz2
abuild-40e6e9995bfe29918fb36eb53f58afab0ab51927.tar.xz
APKBUILD.5: match install_if example to abuild.in
This change makes the example in the description of install_if in the APKBUILD man page match abuild.in:1791.
-rw-r--r--APKBUILD.56
1 files changed, 3 insertions, 3 deletions
diff --git a/APKBUILD.5 b/APKBUILD.5
index d483355..fe0f833 100644
--- a/APKBUILD.5
+++ b/APKBUILD.5
@@ -158,9 +158,9 @@ should automatically install the package (or subpackage).
For instance, the OpenRC subpackages set
.Cm install_if
to
-.Li $pkgname=$pkgver openrc
-which means that the OpenRC subpackage will be automatically installed if the
-origin package and OpenRC are both installed on the same computer.
+.Li openrc ${subpkgname%-openrc}=$pkgver-r$pkgrel
+which means that the OpenRC subpackage will be automatically installed if
+both OpenRC and the origin package are installed on the same computer.
.It Cm makedepends
Specifies build dependencies for the package.
.It Cm pkggroups