Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-04 18:26:27 +0200
committerErich Eckner <git@eckner.net>2019-04-04 18:26:27 +0200
commit12874f08c8bc78b7449f46d05bd06c786ed697b0 (patch)
treea5e6dd3a7f7e1f74f22b2253268bc11520603ed6
parent95a5899e01ef583671bd95372e8b7f650f192380 (diff)
bin/create-build-support-package: fixup of 75c9b80: the pkgname should still be changed!
-rwxr-xr-xbin/create-build-support-package5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/create-build-support-package b/bin/create-build-support-package
index 2db3510..8998cfb 100755
--- a/bin/create-build-support-package
+++ b/bin/create-build-support-package
@@ -177,6 +177,7 @@ if [ -n "${source_package}" ]; then
# TODO: mangle customizable meta-infos here (new provides, keep some
# depends)
sed -i '
+ /^pkgname = / s/ \S\+$/\0-shim\nprovides =\0/
/^depend = /d
' "${tmp_dir}/content/.PKGINFO"
if ${only_versioned_so_provides}; then
@@ -187,10 +188,6 @@ if [ -n "${source_package}" ]; then
/^replaces = / d
/^conflict = / d
' "${tmp_dir}/content/.PKGINFO"
- else
- sed -i '
- /^pkgname = / s/ \S\+$/\0-shim\nprovides =\0/
- ' "${tmp_dir}/content/.PKGINFO"
fi
# from /usr/bin/makepkg