aboutsummaryrefslogtreecommitdiff
path: root/utils/parse-pkgbuild.sh
diff options
context:
space:
mode:
author67au <[email protected]>2021-12-11 16:07:41 +0800
committerKunoi Sayami <[email protected]>2021-12-11 18:42:40 +0800
commit8cabf83ceb35cf34c108cf7f878bcd3018a77208 (patch)
treef5bf616c322a7b5c73bb9ded502255dd491b748a /utils/parse-pkgbuild.sh
parentdcbf7ce789edce4042c674ab71fa89a25141084b (diff)
feat(script): add parse-pkgbuild.sh and minor changes
Signed-off-by: 67au <[email protected]>
Diffstat (limited to 'utils/parse-pkgbuild.sh')
-rw-r--r--utils/parse-pkgbuild.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/parse-pkgbuild.sh b/utils/parse-pkgbuild.sh
new file mode 100644
index 0000000..c0da48a
--- /dev/null
+++ b/utils/parse-pkgbuild.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# no makepkg version
+# https://github.com/archlinuxcn/repo/blob/master/parse-pkgbuild
+
+pushd $(dirname $@) > /dev/null
+makepkg --printsrcinfo
+popd > /dev/null