1 # Maintainer: M0Rf30 <morf3089@gmail.com>
7 pkgdesc="An integrated system to allow Digital Gathering (Adunanza Digitale).Adunanza Digitale is an assembly available on-line."
9 url="http://adunanzadigitale.org"
10 depends=('libvncserver' 'python2' 'python2-qt' 'vlc' 'python-dnspython' 'openssl' 'python2-pjproject' 'pyvnc' 'xmpppy')
17 md5sums=('4041f5db9c0dd29c8ebbbe6327d4e4c5'
18 '65b46bae1c502b0cc8e72bc283a2fcc0')
19 _gitroot="git://github.com/M0Rf30/sacks.git"
21 _buildir=${_gitname}-build
26 msg 'Connecting to GIT server...'
28 if [ -d ${_gitname} ]; then
29 cd ${_gitname} && git pull origin
35 msg 'GIT checkout done or server timeout.'
37 if [ -d ${_buildir} ]; then
38 msg 'Cleaning previous build...'
42 git clone ${_gitname} ${_buildir}
44 msg 'Arrange sacks folders...'
45 mkdir -p $pkgdir/usr/share/sacks
46 cp -r * $pkgdir/usr/share/sacks
47 mkdir -p $pkgdir/usr/share/applications/
48 cp $srcdir/sacks.desktop $pkgdir/usr/share/applications
49 mkdir -p $pkgdir/usr/share/icons/hicolor/32x32/apps/
50 mv $pkgdir/usr/share/sacks/sacksIcon.png $pkgdir/usr/share/icons/hicolor/32x32/apps/sacks.png
51 mkdir -p $pkgdir/usr/share/licenses/sacks/
52 mv $pkgdir/usr/share/sacks/COPYING $pkgdir/usr/share/licenses/sacks/
53 ln $pkgdir/usr/share/licenses/sacks/COPYING $pkgdir/usr/share/sacks/
54 msg 'Create execution script...'
55 mkdir -p $pkgdir/usr/bin
56 cp $srcdir/sacks-bin $pkgdir/usr/bin/sacks
57 msg 'Create Bytecode...'
58 cd $pkgdir/usr/share/sacks && python2 -m compileall .