pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

pastebin - collaborative debugging tool View Help


Posted by Berseker on Tue 3 Feb 18:02
report abuse | download | new post

  1. # This PKGBUILD is based on Penguin's one for google-earth (i686 only)
  2.  
  3. # Contributor: Jesus Lazaro Plaza
  4.  
  5. pkgname=bin32-google-earth
  6. _pkgname=google-earth
  7. pkgver=5.0
  8. pkgrel=1
  9. pkgdesc="32 bits binaries of google-earth for Arch64"
  10. url="http://earth.google.com"
  11. license=('custom')
  12. depends=('lib32-libsm' 'lib32-libxrandr' 'lib32-libxcursor' 'lib32-libxft' 'lib32-libgl' 'lib32-glib2' 'lib32-libxi' 'lib32-libxinerama' 'lib32-pcre')
  13. optdepends=('ttf-bitstream-vera')
  14. install=googleearth.install
  15. source=(http://dl.google.com/earth/client/current/GoogleEarthLinux.bin http://earth.google.com/intl/en/license.html googleearth googleearth.desktop googleearth-mimetypes.xml)
  16. arch=('x86_64')
  17.  
  18. md5sums=('8295e1e38ab5c7158011fe9359c1cf1b'
  19.          'd76d88c2bb14f16dd1f87e7a009db1e2'
  20.          '005109377cb797f6cb12a74abdd0835e'
  21.          'be7209d3edb3df110946acf5e0cd0db3'
  22.          '84e1efd656f86c52333cc629b31accb0')
  23.  
  24. build() {
  25.         cd ${startdir}/src
  26.  
  27.         # Extract archive
  28.         sh ./GoogleEarthLinux.bin --noexec --target ${startdir}/src/${_pkgname} || return 1
  29.  
  30.         # Install binaries and data files
  31.         mkdir -p ${startdir}/pkg/opt/${_pkgname}
  32.         tar -xpf ${startdir}/src/${_pkgname}/googleearth-linux-x86.tar -C ${startdir}/pkg/opt/${_pkgname}/ || return 1
  33.         tar -xpf ${startdir}/src/${_pkgname}/googleearth-data.tar -C ${startdir}/pkg/opt/${_pkgname}/ || return 1
  34.  
  35.         # Install executable
  36.         install -D -m755 ${startdir}/src/googleearth ${startdir}/pkg/usr/bin/googleearth || return 1
  37.  
  38.         # Install .desktop file
  39.         install -D -m644 ${startdir}/src/googleearth.desktop ${startdir}/pkg/usr/share/applications/googleearth.desktop || return 1
  40.  
  41.         # Install shared MIME info package
  42.         install -D -m644 ${startdir}/src/googleearth-mimetypes.xml ${startdir}/pkg/usr/share/mime/packages/googleearth-mimetypes.xml || return 1
  43.  
  44.         # Install icon
  45.         install -D -m644 ${startdir}/src/${_pkgname}/googleearth-icon.png ${startdir}/pkg/usr/share/pixmaps/googleearth-icon.png || return 1
  46.        
  47.         # Install license
  48.         install -D -m644 ${startdir}/src/license.html ${startdir}/pkg/usr/share/licenses/${_pkgname}/license.html || return 1
  49.  
  50.         # Change ownership to root
  51.         chown -R root:root ${startdir}/pkg/* || return 1
  52. }

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post