diff options
Diffstat (limited to '.config/pkgit/repos/cowsay.lua')
| -rw-r--r-- | .config/pkgit/repos/cowsay.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.config/pkgit/repos/cowsay.lua b/.config/pkgit/repos/cowsay.lua new file mode 100644 index 0000000..630d746 --- /dev/null +++ b/.config/pkgit/repos/cowsay.lua @@ -0,0 +1,14 @@ +return { + url = "https://github.com/cowsay-org/cowsay", + targets = { + default = { + install = function() + os.execute("make install prefix="..prefix) + end, + uninstall = function() + os.execute("make uninstall prefix="..prefix) + os.execute("rm -rf "..prefix.."/share/cowsay") + end, + } + } +} |
