# Maintainer: Thomas Baechler # Maintainer: Aaron Griffin pkgname=initscripts-git pkgver=20090905 pkgrel=1 pkgdesc="System initialization/bootup scripts - GIT version" arch=('i686' 'x86_64') url="http://www.archlinux.org" license=('GPL') groups=('base') conflicts=(initscripts) provides=(initscripts) backup=(etc/inittab etc/rc.conf etc/rc.local etc/rc.local.shutdown) depends=('glibc' 'bash' 'awk' 'grep' 'coreutils' 'sed' 'udev>=139-1' 'net-tools' 'ncurses' 'kbd' 'findutils' 'sysvinit') optdepends=('bridge-utils: Network bridging support' 'dhcpcd: DHCP network configuration' 'wireless_tools: Wireless networking') makedepends=(git) source=() _gitroot="git://git.server-speed.net/~flo/git/initscripts.git" _gitname="initscripts" build() { cd "$srcdir" msg "Connecting to GIT server...." if [ -d $_gitname ] ; then cd $_gitname && git pull origin msg "The local files are updated." else git clone $_gitroot fi msg "GIT checkout done or server timeout" msg "Starting make..." rm -rf "$srcdir/$_gitname-build" git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" cd "$srcdir/$_gitname-build" DESTDIR=$pkgdir ./install.sh }