Commit 95986ec3 authored by Allan McRae's avatar Allan McRae
Browse files

Handle descriptions in optdepends array

The packages in optdepends can have descriptions appended which need to
be reomved by parsepkgbuild.
e.g. optdepends=('foo: for bar functionality')

Signed-off-by: Allan McRae's avatarAllan McRae <>
parent bce55790
......@@ -61,7 +61,7 @@ if [ -n "\$makedepends" ]; then
if [ -n "\$optdepends" ]; then
for i in \${optdepends[@]}; do echo \$i; done
for i in \${!optdepends[*]}; do echo \${optdepends[\$i]%:*}; done
echo ""
if [ -n "\$conflicts" ]; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment