1 # Maintainer: Dave Reisner <d@falconindy.com>
6 pkgdesc="a modular initramfs creation utility"
8 url="http://github.com/falconindy/geninit"
10 depends=('coreutils' 'bash' 'libarchive' 'file' 'findutils' 'grep'
11 'module-init-tools' 'mkinitcpio-busybox' 'udev>=168')
12 makedepends=('sed' 'git')
13 optdepends=('lzop: LZO compression')
16 backup=(etc/geninit.conf)
18 _gitroot="git://github.com/falconindy/geninit.git"
22 msg "Connecting to GIT server...."
24 if [[ -d $_gitname ]] ; then
25 cd "$_gitname" && git pull origin
26 msg "The local files are updated."
28 git clone "$_gitroot" "$_gitname"
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
42 make -C "$srcdir/$_gitname-build" PREFIX=/usr DESTDIR="$pkgdir" install
45 # vim: ft=sh syn=sh et