SHARE
TWEET

deb maker for telegram-purple - Ubuntu

a guest Dec 18th, 2014 368 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. # Very simple deb maker for telegram-purple
  3. gitrepo=https://github.com/majn/telegram-purple
  4. deps="libssl-dev libglib2.0-dev libpurple-dev"
  5. gitname=telegram-purple
  6. description="Adds support for Telegram to Pidgin, Adium, Finch and other Libpurple based messengers"
  7.  
  8. sudo apt-get install -qq checkinstall $deps
  9. instdir=`mktemp -d`
  10. cd "$instdir"
  11. git clone --quiet --recursive $gitrepo >/dev/null
  12. cd $gitname
  13. ./configure >/dev/null
  14. make >/dev/null
  15. echo "$description" > description-pak
  16. version=`git describe`
  17. sudo checkinstall -D -y --install=no --requires ${deps// /,} --pkgname "$gitname" --pkgversion "${version/v/}" --backup=no --deldoc --deldesc --delspec
  18. xdg-open ${gitname}*.deb
  19. read
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top