1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="An integrated system to allow Digital Gathering (Adunanza Digitale).Adunanza Digitale is an assembly available on-line."
9 url="http://riunionidigitali.net/"
11 depends=('python2-pyqt' 'vlc' 'python-dnspython' 'python2-pjproject' 'pyvnc')
15 install=("$pkgname.install")
16 source=("$pkgname.desktop")
17 md5sums=('b1fd005d18663b8a1f2230ce3de6c146')
19 _gitroot="git://github.com/M0Rf30/sacks.git"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
44 sed -i "s|\(bin/python\).*|\12|" `grep -rl bin/python .`
48 cd "$srcdir/$_gitname-build"
51 install -d "$pkgdir"/usr/{share/$_pkg,bin}
52 cp -a * "$pkgdir/usr/share/$_pkg"
54 # desktop file and pixmaps
55 install -Dm644 "$srcdir/$pkgname.desktop" \
56 "$pkgdir/usr/share/applications/$_pkg.desktop"
57 install -Dm644 sacksIcon.png "$pkgdir/usr/share/pixmaps/$_pkg.png"
60 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$_pkg/LICENSE"
63 cat << EOF >> "$pkgdir/usr/bin/$_pkg"
65 cd /usr/share/$_pkg && python2 $_pkg.py
68 chmod +x "$pkgdir/usr/bin/$_pkg"