1 # Contributor:Xemertix <arch88(at)katamail(dot)com>
3 pkgname=google-hacks-gui
7 pkgdesc="a compilation of carefully crafted Google searches"
9 url="http://code.google.com/p/googlehacks/"
11 depends=('pango' 'bash' 'libstdc++5' 'gtk2' )
12 [ "$CARCH" = "x86_64" ] && depends=('lib32-pango' 'bash' 'lib32-libstdc++5' 'lib32-gtk2' )
13 source=(http://googlehacks.googlecode.com/files/${_pkgname1}${pkgver}.tar.gz
17 md5sums=('94a1318dce921d5209f76375b05a0753'
18 '420f9ef4c6ea53f8d2db90d31ccda479'
19 '9eef625d39954054a1e96788a421ba23'
20 '7b47a0639dc2f2d1648f13453acda44c')
25 install -D -m 755 GoogleHacks ${pkgdir}/opt/${pkgname}/GoogleHacks
26 install -D -m 755 googlehacks $pkgdir/usr/bin/googlehacks
27 [ "$CARCH" = "x86_64" ] && sed -i 's:#!/bin/sh:#!/bin/sh\nexport PANGO_RC_FILE="/opt/lib32/config/pango/pangorc":' $pkgdir/usr/bin/googlehacks
29 # Freedesktop compatibility
30 install -D -m 664 googlehacks.png ${pkgdir}/usr/share/icons/googlehacks.png
31 install -D -m 664 googlehacks.desktop ${pkgdir}/usr/share/applications/googlehacks.desktop