瀏覽代碼

makepkg: add page (#4140)

Finermeerkat137 4 年之前
父節點
當前提交
8c86156d13
共有 1 個文件被更改,包括 21 次插入0 次删除
  1. 21 0
      pages/linux/makepkg.md

+ 21 - 0
pages/linux/makepkg.md

@@ -0,0 +1,21 @@
+# makepkg
+
+> Creates a package installable with the `pacman` package manager.
+> Runs the commands from a PKGBUILD file to build the package.
+> More information: <https://wiki.archlinux.org/index.php/Makepkg>.
+
+- Make a package (run in the same directory as a PKGBUILD):
+
+`makepkg`
+
+- Make a package and install its dependencies:
+
+`makepkg --syncdeps`
+
+- Same as above, but install the package with `pacman` when done:
+
+`makepkg --syncdeps --install`
+
+- Make a package, but skip source checksums:
+
+`makepkg --skipchecksums`