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

PKGBUILD

By: demil133 on May 5th, 2013  |  syntax: Bash  |  size: 1.02 KB  |  views: 43  |  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. # Maintainer : speps <speps at aur dot archlinux dot org>
  2. # Contributor: Andrea Scarpino <andrea@archlinux.org>
  3.  
  4. pkgname=python2-sipsimple
  5. pkgver=0.34.0
  6. pkgrel=1
  7. pkgdesc="Python SDK for development of SIP end-points"
  8. license=('custom:MIT' 'LGPL')
  9. arch=('i686' 'x86_64')
  10. url="http://download.ag-projects.com/SipClient"
  11. depends=('alsa-lib' 'python2-application' 'python2-backports' 'python2-dateutil'
  12.          'python2-dnspython' 'python2-eventlib' 'python2-gnutls' 'python2-lxml'
  13.          'python2-msrplib' 'python2-xcaplib' 'twisted')
  14. makedepends=('cython2' 'subversion')
  15. options=('!makeflags')
  16. source=("http://download.ag-projects.com/SipClient/${pkgname/2}-$pkgver.tar.gz")
  17. md5sums=('f0c1c1d882f303167efaf53c3afd8011')
  18.  
  19. build() {
  20.   cd "$srcdir/${pkgname/2}-$pkgver"
  21.   python2 setup.py build_ext --pjsip-clean-compile
  22. }
  23.  
  24. package() {
  25.   cd "$srcdir/${pkgname/2}-$pkgver"
  26.   python2 setup.py install --root="$pkgdir" --optimize=1
  27.  
  28.   # license
  29.   install -Dm644 LICENSE \
  30.     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  31. }