1 # Contributor: Dave Reisner <d@falconindy.com>
3 pkgname=systemd-arch-units-git
6 pkgdesc="Arch specific Systemd unit files"
8 url="http://github.com/falconindy/systemd-arch-units"
10 depends=('systemd-git')
13 provides=('systemd-arch-units')
14 conflicts=('systemd-arch-units')
15 install=systemd-arch-units.install
17 _gitroot="git://github.com/falconindy/systemd-arch-units.git"
18 _gitname="systemd-arch-units"
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 -a "$srcdir/$_gitname/" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
40 make DESTDIR="$pkgdir" install