Yay: Print PKGBUILD to stdout

Created on 28 Mar 2020  路  1Comment  路  Source: Jguer/yay

yay v9.4.6 - libalpm v12.0.1

Feature Request

It'd be great if yay had the possibility to not just download the PKGBUILD to the cwd, but also to just display it to stdout. Often i want to look at how a package is built and find myself looking it up in the browser because i don't want to have the pkgbuild file saved, but just shown.

Approved Feature Request

Most helpful comment

Technically this does what you want but I would be careful where you run it :smile: .

yay -G ${PKGBUILD} && less ${PKGBUILD}/PKGBUILD && rm -rfv ${PKGBUILD}

I'm willing to implement this as a -P option.

>All comments

Technically this does what you want but I would be careful where you run it :smile: .

yay -G ${PKGBUILD} && less ${PKGBUILD}/PKGBUILD && rm -rfv ${PKGBUILD}

I'm willing to implement this as a -P option.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GermanG picture GermanG  路  4Comments

mmirate picture mmirate  路  3Comments

muesli picture muesli  路  4Comments

ixevix picture ixevix  路  3Comments

drrlvn picture drrlvn  路  4Comments