about summary refs log tree commit diff
path: root/xsrc
blob: e043982a54ff59afad2e4e531eebf43916b053cb (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
# xsrc PKG - list source files for XBPS template

XBPS_DISTDIR=$(xdistdir)
"$XBPS_DISTDIR/xbps-src" show "$1" | sed -n '/^distfiles:/s/[^:]*:[\t]*//p'
find $XBPS_DISTDIR/srcpkgs/$1/files -type f 2>/dev/null
find $XBPS_DISTDIR/srcpkgs/$1/patches -type f 2>/dev/null