aboutsummaryrefslogtreecommitdiff
path: root/.config/pkgit/repos/openssh.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/pkgit/repos/openssh.lua')
-rw-r--r--.config/pkgit/repos/openssh.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/pkgit/repos/openssh.lua b/.config/pkgit/repos/openssh.lua
new file mode 100644
index 0000000..e2cee4d
--- /dev/null
+++ b/.config/pkgit/repos/openssh.lua
@@ -0,0 +1,17 @@
+return {
+ url = "https://github.com/openssh/openssh-portable",
+ targets = {
+ default = {
+ build = function()
+ print(os.execute("./configure --prefix="..prefix))
+ print(os.execute("make prefix="..prefix))
+ end,
+ install = function()
+ os.execute("make install prefix="..prefix)
+ end,
+ uninstall = function()
+ os.execute("make uninstall prefix="..prefix)
+ end,
+ }
+ }
+}