Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/create-build-support-package
diff options
context:
space:
mode:
Diffstat (limited to 'bin/create-build-support-package')
-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