From 9ea4e05127e7aaf79a58f98076288b25973e949f Mon Sep 17 00:00:00 2001 From: dacctal Date: Fri, 10 Jul 2026 10:49:55 +0000 Subject: backup --- .config/pkgit/repos/pkgit.lua | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .config/pkgit/repos/pkgit.lua (limited to '.config/pkgit/repos/pkgit.lua') diff --git a/.config/pkgit/repos/pkgit.lua b/.config/pkgit/repos/pkgit.lua new file mode 100644 index 0000000..99e3f78 --- /dev/null +++ b/.config/pkgit/repos/pkgit.lua @@ -0,0 +1,27 @@ +return { + url = "https://git.symlinx.net/pkgit", + targets = { + default = { + build = function() + return os.execute("make") + end, + install = function() + return os.execute("make install PREFIX="..prefix) + end, + uninstall = function() + return os.execute("make uninstall PREFIX="..prefix) + end, + }, + quiet = { + build = function() + local output = io.popen("make"):read("*a") + end, + install = function() + local output = io.popen("make install PREFIX="..prefix):read("*a") + end, + uninstall = function() + local output = io.popen("make uninstall PREFIX="..prefix):read("*a") + end, + }, + } +} -- cgit v1.2.3