1 # Maintainer: Ankit Shankar <ankitshankar+aur at gmail dot com>
5 pkgdesc="Automated login tool for Georgia Tech Local Area Wireless Network
8 url="https://github.com/thelastnode/LAWNMower"
12 makedepends=('git' 'qt>=4.6')
19 source=('lawnmower.desktop')
21 md5sums=('2e0638a095aea90922a29b645cc3e019')
23 _gitroot="git://github.com/thelastnode/LAWNMower.git"
28 msg "Connecting to GIT server...."
30 if [ -d $_gitname ] ; then
31 cd $_gitname && git pull origin
32 msg "The local files are updated."
34 git clone $_gitroot $_gitname
37 msg "GIT checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_gitname-build"
41 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
42 cd "$srcdir/$_gitname-build"
49 cd "$srcdir/$_gitname-build"
50 install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
51 install -D -m755 LAWNMower "${pkgdir}/usr/bin/LAWNMower"
53 install -D -m644 lawnmower.desktop "${pkgdir}/usr/share/applications/lawnmower.desktop"