1 # Contributor: Mladen Pejakovic <pejakm@gmail.com>
2 # Contributor: Patrick Baumgart <Baumi@gmx.com>
7 pkgdesc="Goober Instant Messenger"
8 url="http://www.goober.com/"
9 license=('goober:nonfree')
10 arch=('i686' 'x86_64')
11 depends=('qt' 'qca' 'qca-ossl' 'portaudio' 'phonon' 'speex' 'glew' 'openssl')
16 if [ "$CARCH" = "x86_64" ]; then
17 source=(http://www.goober.com/en/downloads/startDownload/software/linux64 \
24 md5sums=('2479e8695484c333c926982126dfd5ea'
25 'bb02df5852814f08af38e6eb2437546d'
26 'e2ff37d95d25c0b4ca4ec79ad9758933'
27 '1b1c15d261ea4816c7a1dffb774f9aec'
28 'cf331e5c074e715eed37249a9f26e377'
29 'cf46472ccbb2f7ee337ddc7fa7720d25'
30 '31def24ccd51b5ef3da13586289294cc')
32 source=(http://www.goober.com/downloads/startDownload/software/linux32 \
39 md5sums=('f1d0f08fa1172d785283db23dc160257'
40 'bb02df5852814f08af38e6eb2437546d'
41 'e2ff37d95d25c0b4ca4ec79ad9758933'
42 '1b1c15d261ea4816c7a1dffb774f9aec'
43 'cf331e5c074e715eed37249a9f26e377'
44 'cf46472ccbb2f7ee337ddc7fa7720d25'
45 '31def24ccd51b5ef3da13586289294cc')
49 install -m 755 -d $pkgdir/usr/bin $pkgdir/usr/lib/$pkgname/plugins/{applications,imageformats,messenger,sqldrivers} $pkgdir/usr/lib/$pkgname/plugins/imageformats/imageformats $pkgdir/usr/share/$pkgname/{tests,translations} $pkgdir/usr/share/$pkgname/skins/condor $pkgdir/usr/share/$pkgname/smileys/default $pkgdir/usr/share/$pkgname/sounds/standard/smilies
50 install -m 755 -D $srcdir/goober/acknowledgements.txt $pkgdir/usr/share/$pkgname
51 install -m 755 -D $srcdir/goober/aec-params.config $pkgdir/usr/share/$pkgname
52 install -m 755 -D $srcdir/goober/countries.xml $pkgdir/usr/share/$pkgname
53 install -m 755 -D $srcdir/goober/license_de.txt $pkgdir/usr/share/$pkgname
54 install -m 755 -D $srcdir/goober/license_en.txt $pkgdir/usr/share/$pkgname
55 install -m 755 -D $srcdir/goober/version.vrs $pkgdir/usr/share/$pkgname
56 install -m 755 -D $srcdir/goober/crash_handler $pkgdir/usr/bin
57 install -m 755 -D $srcdir/goober/goober $pkgdir/usr/bin
58 install -m 755 -D $srcdir/goober/plugins/applications/* $pkgdir/usr/lib/$pkgname/plugins/applications
59 install -m 755 -D $srcdir/goober/plugins/messenger/* $pkgdir/usr/lib/$pkgname/plugins/messenger
60 install -m 755 -D $srcdir/goober/plugins/sqldrivers/* $pkgdir/usr/lib/$pkgname/plugins/sqldrivers
61 install -m 755 -D $srcdir/goober/plugins/imageformats/imageformats/* $pkgdir/usr/lib/$pkgname/plugins/imageformats/imageformats
62 install -m 755 -D $srcdir/goober/skins/condor/* $pkgdir/usr/share/$pkgname/skins/condor
63 install -m 755 -D $srcdir/goober/smileys/default/* $pkgdir/usr/share/$pkgname/smileys/default
64 install -m 755 $srcdir/goober/smileys/icqemoticons.xml $pkgdir/usr/share/$pkgname/smileys
65 install -m 755 $srcdir/goober/smileys/msnemoticons.xml $pkgdir/usr/share/$pkgname/smileys
66 install -m 755 -D $srcdir/goober/sounds/standard/*.wav $pkgdir/usr/share/$pkgname/sounds/standard
67 install -m 755 -D $srcdir/goober/sounds/standard/smilies/* $pkgdir/usr/share/$pkgname/sounds/standard/smilies
68 install -m 755 -D $srcdir/goober/tests/* $pkgdir/usr/share/$pkgname/tests
69 install -m 755 -D $srcdir/goober/translations/* $pkgdir/usr/share/$pkgname/translations
70 install -m 755 -D $srcdir/goober.desktop $pkgdir/usr/share/applications/goober.desktop
71 install -m 755 -D $srcdir/goober/license_en.txt $pkgdir/usr/share/licenses/${pkgname}/license.txt
72 # install -D -m 755 $srcdir/goober.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/goober.svg
73 install -m 755 -D $srcdir/goober16.png $pkgdir/usr/share/icons/hicolor/16x16/apps/goober.png
74 install -m 755 -D $srcdir/goober22.png $pkgdir/usr/share/icons/hicolor/22x22/apps/goober.png
75 install -m 755 -D $srcdir/goober32.png $pkgdir/usr/share/icons/hicolor/32x32/apps/goober.png
76 install -m 755 -D $srcdir/goober64.png $pkgdir/usr/share/icons/hicolor/64x64/apps/goober.png
77 install -m 755 -D $srcdir/goober128.png $pkgdir/usr/share/icons/hicolor/128x128/apps/goober.png
78 cp -a $srcdir/goober/lib* $pkgdir/usr/lib/
79 # ln -s /usr/share/goober/goober $pkgdir/usr/bin/goober