mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-24 00:38:51 -05:00
10 lines
173 B
Python
10 lines
173 B
Python
|
self.description = "Query a package"
|
||
|
|
||
|
p = pmpkg("foobar")
|
||
|
p.files = ["bin/foobar"]
|
||
|
self.addpkg2db("local", p)
|
||
|
|
||
|
self.args = "-Q foobar"
|
||
|
|
||
|
self.addrule("PACMAN_OUTPUT=foobar")
|