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