1 # Maintainer: Scott Garrett <wintevenom[(at)]gmail.com>
3 pkgname=southerncross-git
6 pkgdesc="SouthernCross is a minimal tiling window manager for X based on Musca."
8 url="https://github.com/MartinWeigel/SouthernCross"
10 depends=('libx11' 'dmenu')
11 makedepends=('gcc' 'gcc-libs' 'make' 'git')
12 conflicts=('musca' 'musca-bzr')
15 _gitroot="git://github.com/MartinWeigel/SouthernCross.git"
16 _gitname="SouthernCross"
20 msg "Connecting to GIT server...."
22 if [[ -d $_gitname ]] ; then
23 cd "$_gitname" && git pull origin
24 msg "The local files are updated."
26 git clone "$_gitroot" "$_gitname"
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
42 install -Dm755 bin/southerncross $pkgdir/usr/bin/southerncross
43 install -Dm644 man/musca.1 $pkgdir/usr/share/man/man1/southerncross.1
46 # vim: ft=sh syn=sh et