Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for brosix 3.1.3 x86_64

By: a guest on Aug 16th, 2011  |  syntax: Bash  |  size: 1.34 KB  |  views: 224  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Modified PKGBUILD of http://aur.archlinux.org/packages.php?ID=49406 for x86_64
  2. # Maintainer of i686 version: Dan Serban
  3.  
  4. pkgname=brosix
  5. pkgver=3.1.3
  6. pkgrel=1
  7. pkgdesc="A secure softphone, instant messaging and collaboration tool"
  8. arch=(x86_64)
  9. url=http://www.brosix.com/download/linux/
  10. license=(unknown:non-free)
  11. depends=(lib32-libjpeg6 lib32-zlib lib32-libtiff4 lib32-libv4l)
  12. source=(http://download.brosix.com/_tmp/Brosix_free.tar.gz)
  13. md5sums=('fa6eb726ee843849844faec51c34c723')
  14. install=brosix.install
  15.  
  16. build()
  17. {
  18.   tar -xvf Brosix_free.tar.gz
  19.   mv Brosix brosix
  20.   mkdir brosix/users
  21.   touch brosix/users/users.ini
  22.   chown -R root.root brosix
  23.   mkdir -p "${pkgdir}"/usr/share
  24.   mv brosix "${pkgdir}"/usr/share/
  25.   mkdir -p "${pkgdir}"/usr/bin
  26.   USRBINFILE="${pkgdir}"/usr/bin/brosix
  27.   echo '#!/bin/bash' > "${USRBINFILE}"
  28.   echo '/usr/share/brosix/Brosix' >> "${USRBINFILE}"
  29.   chmod +x "${USRBINFILE}"
  30.   mkdir -p "${pkgdir}"/usr/share/applications
  31.   DESKTOPFILE="${pkgdir}"/usr/share/applications/brosix.desktop
  32.   echo "[Desktop Entry]" > "${DESKTOPFILE}"
  33.   echo "Name=Brosix" >> "${DESKTOPFILE}"
  34.   echo "Comment=Brosix" >> "${DESKTOPFILE}"
  35.   echo "Exec=brosix" >> "${DESKTOPFILE}"
  36.   echo "Terminal=false" >> "${DESKTOPFILE}"
  37.   echo "Type=Application" >> "${DESKTOPFILE}"
  38.   echo "Categories=Network;Application;" >> "${DESKTOPFILE}"
  39. }