about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xxq4
1 files changed, 3 insertions, 1 deletions
diff --git a/xq b/xq
index 34f26c7..12c857f 100755
--- a/xq
+++ b/xq
@@ -7,7 +7,9 @@ ADDREPO="--repository=hostdir/binpkgs/$BRANCH
 	--repository=../../hostdir/binpkgs/$BRANCH"
 
 for pkg; do
-	xbps-query $ADDREPO -S "$pkg"
+	xbps-query $ADDREPO -S "$pkg" |
+		sed -n 's/^short_desc/&/p;tk;H;:k;${x;s/\n//;p};d' |
+		sed -n 's/^pkgver/&/p;tk;H;:k;${x;s/\n//;p};d'
 	xbps-query $ADDREPO -x "$pkg" | sed 's/^/	/;1s/^/depends:\n/'
 	REVDEP=$(xbps-query -X "$pkg" | sed 's/^/	/' )
 	if [ "$REVDEP" ]; then