summaryrefslogtreecommitdiffstats
path: root/genpkglist
diff options
context:
space:
mode:
Diffstat (limited to 'genpkglist')
-rwxr-xr-xgenpkglist15
1 files changed, 15 insertions, 0 deletions
diff --git a/genpkglist b/genpkglist
new file mode 100755
index 0000000..0999592
--- /dev/null
+++ b/genpkglist
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+tl=`pwd`
+
+for category in {base,opt,contrib}; do
+ echo $category >>packages.txt
+ for pkg in `ls $category`; do
+ cd $tl/$category/$pkg
+ . PKGBUILD
+ cd $tl
+ echo " $pkgname $pkgver" >>packages.txt
+ done
+ cd $tl
+ echo "" >>packages.txt
+done