updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / arch32 / PKGBUILD
blobd394879702b35c7e874971a088c43e380fe86bcb
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().
8 pkgname=arch32
9 pkgver=1.2.1
10 pkgrel=1
11 pkgdesc="Automated Arch 32-bit Chroot Installation"
12 arch=(x86_64)
13 conflicts=()
14 depends=('schroot' 'pacman>=3.4.0')
15 install=arch32.install
16 license=('GPL')
17 makedepends=()
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')
23 build()
25         msg ""
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!"
29         msg ""
31         sleep 10
33         msg ""
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"
37         msg ""
39         sleep 10
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
47 # vim:syntax=sh