summary refs log tree commit diff
path: root/xsrc
diff options
context:
space:
mode:
Diffstat (limited to 'xsrc')
-rwxr-xr-xxsrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/xsrc b/xsrc
new file mode 100755
index 0000000..811a1a9
--- /dev/null
+++ b/xsrc
@@ -0,0 +1,6 @@
+#!/bin/sh
+# xsrc PKG - list source files for XBPS template
+
+~/xbps-packages/xbps-src show "$1" | sed -n '/distfiles:/s/[^:]*:[\t]*//p'
+find ~/xbps-packages/srcpkgs/$1/files 2>/dev/null
+find ~/xbps-packages/srcpkgs/$1/patches 2>/dev/null