updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / google-desktop / PKGBUILD
blob85ba7dcdc657d5baf043dc40ba78b383ecf66a5c
1 # Maintainer: Mathias Rohnstock <linksoft@gmx.de>
2 # Contributed by: f0x <f0x@f0x.ru>
4 pkgname=google-desktop
5 pkgver=1.2.0.0088
6 pkgrel=5
7 pkgdesc="Google Desktop for Linux"
8 url="http://desktop.google.com/linux"
9 license=('custom')
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')
16 else
17   source=(http://dl.google.com/linux/rpm/stable/i386/${pkgname}-linux-current.rpm)
18   md5sums=('165d313c8592a007d7a0e42ca3af0dfb')
21 build() {
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