1 # Contributor: Emanuele Rossi <newdna1510@yahoo.it>
2 # Contributor: Alessio Biancalana <dottorblaster@gmail.com>
3 # Contributor: Odites <odites@gmail.com>
9 pkgdesc="New Generation of AMSN"
10 url="http://github.com/drf/amsn2/tree"
12 arch=('i686' 'x86_64')
13 depends=('pygtk' 'libmimic' 'python2-qt' 'papyon-git' 'python-imaging')
16 replaces=('amsn2-svn')
18 source=('amsn2.run' 'amsn2.desktop')
19 install=('amsn2.install')
20 md5sums=('30e5831ebf33f3bc2a91e4589a9ced5d'
21 '3cb40821e951f1bf99c62b4eff883bef')
23 _gitroot='git://github.com/amsn/amsn2.git'
31 msg "Connecting to github.com GIT server...."
33 if [ -d ${srcdir}/$_gitname ] ; then
36 git submodule update --init
37 msg "The local files are updated."
39 git clone $_gitroot $_gitname
41 git submodule update --init
44 msg "GIT checkout done."
47 mkdir -p $pkgdir/usr/bin
48 mkdir -p $pkgdir/usr/share/${_pkgname}
50 cp -r $srcdir/$_gitname/* $pkgdir/usr/share/${_pkgname}
52 # install startup file
53 install -Dm755 $srcdir/${_pkgname}.run $pkgdir/usr/bin/${_pkgname}
55 # install desktop file
56 install -Dm644 $srcdir/${_pkgname}.desktop $pkgdir/usr/share/applications/${_pkgname}.desktop