1 # Maintainer: Adam Eberlin < ae at adameberlin dot com >
3 # 1.0-1: Initial release
4 # 1.0-2: Fixed a few bugs in the install file.
5 # 1.1-1: Fixed a bug that caused downloading of x86_64 repos for first pacman run.
6 # 1.2: Fixed a bug in the install file - added stop daemon to pre_remove().
11 pkgdesc="Automated Arch 32-bit Chroot Installation"
14 depends=('schroot' 'pacman>=3.4.0')
15 install=arch32.install
18 url=http://wiki.archlinux.org/index.php/Arch64_Install_bundled_32bit_system
19 source=('arch32' 'daemon' 'pacman.conf.arch32' 'arch32.install')
20 md5sums=('fe35d848d20d7c06b9bcd3f595920d34' '7832a564ea1808448afc5b5458e72e46' 'd7ccdf77f8645021a65662efb957d732' '12e373082586501d71ae3ed9a0144794')
26 msg "WARNING: THIS CAN DESTROY YOUR LINUX INSTALLATION!"
27 msg "THERE IS NO WARRANTY GIVEN, IMPLIED, OR OTHERWISE!"
28 msg "TERMINATE THIS OPERATION IF YOU DO NOT UNDERSTAND!"
34 msg "IF YOU WOULD RATHER TO USE A MIRRORLIST INSTEAD OF"
35 msg "FTP.ARCHLINUX.ORG, TERMINATE THIS OPERATION, START"
36 msg "IT OVER, AND MODIFY THE INSTALL FILE WHEN PROMPTED"
41 mkdir -p ${pkgdir}/opt/arch32/var/{cache/pacman/pkg,lib/pacman}
43 install -Dm744 ${srcdir}/daemon ${pkgdir}/etc/rc.d/arch32
44 install -Dm744 ${srcdir}/arch32 ${pkgdir}/usr/bin/arch32
45 install -Dm644 ${srcdir}/pacman.conf.arch32 ${pkgdir}/etc/pacman.conf.arch32