mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
16 lines
492 B
Text
Executable file
16 lines
492 B
Text
Executable file
# This is a simple package version checker (for now)
|
|
#
|
|
# So far it only lists the names and versions of packages in ABS.
|
|
# Planned is to grab repository pkgvers, then ABS vers, and only
|
|
# output the differences, i.e. what packages need to be upgraded.
|
|
|
|
ABSDIR=/build/abs
|
|
|
|
cd $ABSDIR/$1
|
|
|
|
for i in `find . -maxdepth 1 -mindepth 1 -type d`; do
|
|
cd $ABSDIR/$1/$i > /dev/null 2>&1
|
|
grep pkgname= PKGBUILD | sed -e 's/pkgname=//'
|
|
grep pkgver= PKGBUILD | sed -e 's/pkgver=//'
|
|
echo ""
|
|
done
|