archlinux: remove unused files

Now packages are built by qubes-builder, so no need for build scripts
here.
This commit is contained in:
Marek Marczykowski 2013-04-19 13:00:04 +02:00
parent cc5ecbb71d
commit 95252f246d
7 changed files with 0 additions and 32 deletions

View File

@ -13,11 +13,6 @@ sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Rsc
# Clean pacman cache # Clean pacman cache
sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Scc sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --noconfirm -Scc
# Remove build data
rm $INSTALLDIR/etc/build_package.sh
rm $INSTALLDIR/etc/CF8D4BBE.pub
rm $INSTALLDIR/etc/package.sig
sudo umount mnt_archlinux_dvd sudo umount mnt_archlinux_dvd
#rm -f $INSTALLDIR/var/lib/rpm/__db.00* $INSTALLDIR/var/lib/rpm/.rpm.lock #rm -f $INSTALLDIR/var/lib/rpm/__db.00* $INSTALLDIR/var/lib/rpm/.rpm.lock

Binary file not shown.

View File

@ -1,27 +0,0 @@
#!/bin/bash
cd /tmp
mkdir build
cd build
wget "https://aur.archlinux.org/packages/qu/$1/$1.tar.gz" || exit
gpg --verify "/etc/package.sig" "$1.tar.gz" || exit
tar xzvf $1.tar.gz || exit
cd "$1" || exit
packages=`cat ./PKGBUILD | grep makedepends | cut -d '(' -f 2 | cut -d ')' -f 1`
for package in $packages ; do
pacman -S --asdeps --noconfirm --needed $package
done
packages=`cat ./PKGBUILD | grep depends | cut -d '(' -f 2 | cut -d ')' -f 1`
for package in $packages ; do
pacman -S --asdeps --noconfirm --needed $package
done
makepkg --asroot || exit
pacman --noconfirm -U $1-*.pkg.tar.xz || exit