Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Mike Nagie <echo 'cHJvbWlrZTE5ODdAZ21haWwuY29tCg==' | base64 -d>
- # Maintainer: Ingo Gottwald <in dot gottwald at gmail dot com>
- # Contributor: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
- # Contributor: speps <speps at aur dot archlinux dot org>
- # Contributor: Andrea Scarpino <andrea@archlinux.org>
- _pkgname=python-sipsimple
- pkgname=python2-sipsimple
- pkgver=3.1.0
- pkgrel=1
- pkgdesc="Python SDK for development of SIP end-points"
- license=('custom:MIT' 'LGPL')
- arch=('i686' 'x86_64')
- url="http://download.ag-projects.com/SipClient"
- depends=('alsa-lib' 'util-linux' 'python2-dateutil' 'cython2' 'python2-cjson'
- 'python2-dnspython' 'python2-eventlib' 'python2-msrplib' 'python2-xcaplib' 'python2-otr-git' 'ffmpeg')
- makedepends=('subversion' 'ffmpeg2.8')
- options=('!makeflags')
- source=("https://github.com/AGProjects/${_pkgname}/archive/release-${pkgver}/${_pkgname}-${pkgver}.tar.gz")
- md5sums=('SKIP')
- build() {
- cd "${srcdir}/${_pkgname}-release-${pkgver}"
- # fix permissions
- chmod 755 "${srcdir}/${_pkgname}-release-${pkgver}/deps/pjsip/configure"
- chmod 755 "${srcdir}/${_pkgname}-release-${pkgver}/deps/pjsip/aconfigure"
- # build
- python2 setup.py build_ext --pjsip-clean-compile
- }
- package() {
- cd "${srcdir}/${_pkgname}-release-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1
- # license
- install -Dm644 LICENSE \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement