mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
Added IanJBs brute-builder
This commit is contained in:
parent
2c982ff997
commit
52491650e2
1 changed files with 30 additions and 0 deletions
30
scripts/recursive-builder
Executable file
30
scripts/recursive-builder
Executable file
|
@ -0,0 +1,30 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Set me to where you want packages
|
||||
cd /media/usb/pkg/extra
|
||||
echo $1
|
||||
pacman -Ssq $1
|
||||
if [ $? = 0 ]
|
||||
then
|
||||
{
|
||||
echo $1 "already exists"
|
||||
}
|
||||
else
|
||||
{
|
||||
if [ ! -d ./$1 ]
|
||||
then
|
||||
{
|
||||
cp -r /var/abs/extra/$1 .
|
||||
# You might want to change me too
|
||||
}
|
||||
fi
|
||||
cd $1
|
||||
f=`find . -name *.pkg.tar*`
|
||||
echo $f
|
||||
if [ -z $f ]
|
||||
then
|
||||
echo $1
|
||||
makepkg --ignorearch --asroot --clean --syncdeps --noconfirm --rmdeps 2> $1-`date +%s`.log
|
||||
fi
|
||||
}
|
||||
fi
|
Loading…
Reference in a new issue