1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 pkgname=trafikanten-git
5 pkgdesc="CLI interface to trafikanten.no"
6 url="https://github.com/tfheen/trafikanten-cli"
10 depends=('perl' 'perl-json' 'perl-config-file-svn')
11 _gitroot="git://github.com/tfheen/trafikanten-cli.git"
12 _gitname="trafikanten-cli"
17 msg "Connecting to github.com GIT server...."
18 if [[ -d $_gitname ]] ; then
19 ( cd "$_gitname" && git pull origin )
20 msg "The local files are updated."
24 msg "GIT checkout done or server timeout"
28 cd "$srcdir/$_gitname"
30 install -Dm755 trafikanten "$pkgdir/usr/bin/trafikanten"
31 install -Dm644 README \
32 "$pkgdir/usr/share/doc/$pkgname/README"
33 install -Dm644 COPYING \
34 "$pkgdir/usr/share/licenses/$pkgname/COPYING"
37 # vim:set ts=2 sw=2 et: