1 # Contributor: Dave Reisner <d@falconindy.com>
3 pkgname=initscripts-systemd-git
6 pkgdesc="Arch specific systemd initialization/bootup scripts for systemd"
8 url="http://www.github.com/falconindy/initscripts-systemd"
10 depends=('systemd-git')
11 provides=("initscripts-systemd=$pkgver")
12 conflicts=('initscripts-systemd')
14 install=initscripts-systemd.install
16 _gitroot="git://github.com/falconindy/initscripts-systemd.git"
17 _gitname="initscripts-systemd"
21 msg "Connecting to GIT server...."
23 if [[ -d $_gitname ]] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 make -C "$srcdir/$_gitname-build" DESTDIR="$pkgdir" install