pmbootstrap/test/testdata/apkbuild/APKBUILD.variable-replacements

13 lines
331 B
Plaintext

pkgname="variable-replacements"
pkgver="1.0.0"
pkgrel=0
arch="armhf"
pkgdesc="$pkgdesc$pkgname test"
url="${pkgname/variable-} ${pkgname/-replacements/} ${pkgname/variable/string}"
subpackages="${pkgdesc#variable-}:test_subpkg_func"
pkgdesc="this should not affect variable replacement"
test_subpkg_func() {
mkdir "$subpkgdir"
}