# $Id: PKGBUILD 52118 2009-09-16 07:06:50Z tpowa $ # Maintainer : Tobias Powalowski pkgname=archboot pkgver=2009.09 pkgrel=1 pkgdesc="Advanced, modular arch boot/install image creation utility" arch=(i686 x86_64) license=('GPL') url="http://www.archlinux.org/" depends=('mkinitcpio>=0.5.26-1' 'mksyslinux>=2008.12-1' 'mkpxelinux>=2009.09-1' 'mkisolinux>=2008.12-1' 'initscripts>=2009.08-1' 'subversion>=1.6.5-3' 'wget>=1.11.4-2' 'bash>=4.0.028-1' 'coreutils>=7.5-2' 'cryptsetup>=1.0.7-1' 'dialog>=1.1_20080819-2' 'e2fsprogs>=1.41.8-2' 'findutils>=4.4.2-1' 'gawk>=3.1.7-1' 'grep>=2.5.4-3' 'iputils>=20071127-2' 'jfsutils>=1.1.14-1' 'less>=436-1' 'lvm2>=2.02.48-1' 'mdadm>=2.6.9-1' 'module-init-tools>=3.10-1' 'nano>=2.0.9-2' 'ncurses>=5.7-2' 'net-tools>=1.60-14' 'gnu-netcat>=0.7.1-3' 'ntfsprogs>=2.0.0-4' 'pcmciautils>=015-2' 'procps>=3.2.8-1' 'psmisc>=22.8-1' 'reiserfsprogs>=3.6.21-2' 'sed>=4.2.1-1' 'snarf>=7.0-3' 'syslog-ng>=3.0.4-1' 'sysvinit>=2.86-5' 'tar>=1.22-1' 'util-linux-ng>=2.16-1' 'which>=2.20-1' 'kbd>=1.15-2' 'wireless_tools>=29-3' 'xfsprogs>=3.0.1-2' 'dnsutils>=9.6.1-2' 'hdparm>=9.27-1' 'memtest86+>=2.11-1' 'grub>=0.97-16' 'inetutils>=1.6-4' 'openssh>=5.2p1-1' 'hwdetect>=2009.09-5' 'shadow>=4.1.4.2-1' 'bridge-utils>=1.4-2' 'ifenslave>=1.1.0-4' 'cpufrequtils>=005-2' 'links>=2.2-2' 'tcp_wrappers>=7.6-10' 'dosfstools>=3.0.5-1' 'glibc>=2.10.1-4' 'kernel-headers>=2.6.30.5-1' 'kernel26>=2.6.30.6-1' 'kernel26-firmware>=2.6.30-1' 'xinetd>=2.3.14-5' 'kexec-tools>=2.0.0-1' 'ppp>=2.4.4-9' 'rp-pppoe>=3.10-1' 'lilo>=22.8-3' 'iptables>=1.4.4-1' 'capi4k-utils>=050718-7' 'isdn4k-utils>=3.2p1-5' 'ntfs-3g>=2009.4.4-1' 'pciutils>=3.1.4-1' 'usbutils>=0.86-2' 'vpnc>=0.5.3-1' 'openvpn>=2.1_rc19-2' 'b43-fwcutter>=012-1' 'wpa_supplicant>=0.6.9-2' 'rsync>=3.0.6-1' 'gzip>=1.3.12-6' 'libdownload>=1.3-3' 'libarchive>=2.7.1-1' 'device-mapper>=1.02.33-1' 'screen>=4.0.3-8' 'libelf>=0.8.12-1' 'pam>=1.0.4-1' 'cracklib>=2.8.13-2' 'nfs-utils>=1.2.0-3' 'nfsidmap>=0.21-2' 'readline>=6.0.004-1' 'acl>=2.2.47-2' 'attr>=2.4.43-1' 'pcre>=7.9-1' 'cpio>=2.10-1' 'fuse>=2.8.0-1' 'klibc>=1.5.15-3' 'libusb>=0.1.12-3' 'vim>=7.2.245-1' 'lzo2>=2.03-1' 'libsasl>=2.1.23-1' 'libldap>=2.3.43-3' 'gpm>=1.20.6-1' 'libevent>=1.4.11-1' 'gcc-libs>=4.4.1-1' 'sdparm>=1.03-2' 'licenses>=2.5-1' 'pptpclient>=1.7.2-2' 'rt2x00-rt61-fw>=1.2-3' 'rt2x00-rt71w-fw>=1.8-3' 'ndiswrapper>=1.55-1' 'ndiswrapper-utils>=1.55-1' 'zd1211-firmware>=1.4-2' 'wlan-ng26-utils>=0.2.9-1' 'ipw2100-fw>=1.3-3' 'ipw2200-fw>=3.1-1' 'iwlwifi-3945-ucode>=15.32.2.9-1' 'iwlwifi-4965-ucode>=228.61.2.24-1' 'iwlwifi-5000-ucode>=8.24.2.12-1' 'smbclient>=3.3.7-1' 'tdb>=3.3.7-1' 'bittorrent>=5.2.2-1' 'dhcpcd>=5.1.0-1' 'openssl>=0.9.8k-4' 'git>=1.6.4.3-1' 'dmraid>=1.0.0.rc15-8' 'linux-atm>=2.5.0-1' 'netcfg>=2.2.1-1' 'tiacx>=20080210-10' 'tiacx-firmware>=2-1' 'parted>=1.8.8-3' 'tzdata>=2009l-1' 'ntp>=4.2.4p7-3' 'libgcrypt>=1.4.4-2' 'iw>=0.9.15-1' 'crda>=1.1.0-1' 'libnl>=1.1-1' 'iproute2>=2.6.29-1' 'wireless-regdb>=2009.08.05-1' 'v86d>=0.1.9-7' 'dhclient>=3.1.2p1-3' 'syslinux>=3.82-1' 'mtools>=4.0.10-5' 'fsarchiver>=0.5.9-1' 'iwlwifi-5150-ucode>=8.24.2.2-1' 'xz-utils>=4.999.9beta-1' 'libtirpc>=0.2.0-1' 'librpcsecgss>=0.18-1' 'rpcbind>=0.2.0-1' 'testdisk>=6.11-1' 'wipe>=2.2.0-2' 'clamav>=0.95.2-1' 'ddrescue>=1.11-1' 'udev>=146-2') source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver-$pkgrel.tar.bz2 vmware-detect.c) backup=('etc/archboot/archbootcd.conf' 'etc/archboot/archbootcd-lowmem.conf' 'etc/archboot/archpxelinux.conf' \ 'etc/archboot/archsyslinux.conf' 'etc/archboot/install.conf' 'etc/archboot/install-lowmem.conf') backup=('etc/archboot/allinone.conf' 'etc/archboot/allinone-lowmem.conf' 'etc/archboot/default.conf' 'etc/archboot/default-ftp.conf' 'etc/archboot/default-pxelinux.conf' 'etc/archboot/default-ftp-pxelinux.conf' 'etc/archboot/lowmem.conf' 'etc/archboot/allinone.conf' 'etc/archboot/presets/allinone' 'etc/archboot/presets/allinone-lowmem' 'etc/archboot/presets/isolinux' 'etc/archboot/presets/isolinux-lowmem' 'etc/archboot/presets/isolinux-ftp' 'etc/archboot/presets/syslinux' 'etc/archboot/presets/syslinux-lowmem' 'etc/archboot/presets/syslinux-ftp' 'etc/archboot/presets/pxelinux' 'etc/archboot/presets/pxelinux-ftp' ) install=archboot.install ### to bump the depends list use this: #for i in $(grep ^depends= PKGBUILD | sed -e 's/depends=(//g' -e 's/)//g'); do sed -i -e "s/$(echo $i)/$(echo $i | sed -e "s/>=.*/>=$(pacman -Qi $(echo $i | sed -e "s/'//g" -e 's/>=.*//g') | grep ^Version | sed -e 's/.*: //g')'/g")/g" PKGBUILD; done build() { cd $srcdir/$pkgname-$pkgver-$pkgrel mv * $pkgdir/ # vmware-detect cd $startdir/src gcc -o vmware-detect vmware-detect.c install -D -m 755 vmware-detect $startdir/pkg/usr/bin/vmware-detect } md5sums=('d62203bd88ed9ea64f75ce847bc8bbd2' '7e2b03463747cb22ab388e79a09fa0cb')