1 # Maintainer: Mathias Rohnstock <linksoft@gmx.de>
2 # Contributed by: f0x <f0x@f0x.ru>
7 pkgdesc="Google Desktop for Linux"
8 url="http://desktop.google.com/linux"
10 arch=('i686' 'x86_64')
11 makedepends=('rpmextract')
12 depends=('gtk2>=2.2.0' 'glibc>=2.3.2')
13 if [ ${CARCH} = 'x86_64' ]; then
14 source=(http://dl.google.com/linux/rpm/stable/x86_64/${pkgname}-linux-current.rpm)
15 md5sums=('dac43d2ea9d4f1069a0bed0e754cffb1')
17 source=(http://dl.google.com/linux/rpm/stable/i386/${pkgname}-linux-current.rpm)
18 md5sums=('165d313c8592a007d7a0e42ca3af0dfb')
22 rpmextract.sh ${pkgname}-linux-current.rpm
23 cp -R ${srcdir}/{etc,opt,usr,var} ${pkgdir}/
24 mkdir -p ${pkgdir}/usr/share/applications
26 cd ${pkgdir}/usr/share/applications
27 ln -s ../../../opt/google/desktop/xdg/google-gdl.desktop
28 ln -s ../../../opt/google/desktop/xdg/google-gdl.directory
29 ln -s ../../../opt/google/desktop/xdg/google-gdl-preferences.desktop