SHARE
TWEET

Untitled

a guest Sep 20th, 2019 90 in 154 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=python-fritzconnection-git
  2. _pkgname=fritzconnection
  3. pkgver=r132.a67ab01
  4. pkgrel=1
  5. pkgdesc='Python-Tool to communicate with the AVM FritzBox. Uses the TR-064 protocol.'
  6. license=('MIT')
  7. arch=('any')
  8. url='https://github.com/kbr/fritzconnection'
  9. depends=(
  10.   'python-lxml'
  11.   'python-requests'
  12. )
  13. makedepends=(
  14.   'python-setuptools'
  15.   'git'
  16. )
  17. source=("git://github.com/kbr/fritzconnection.git")
  18. sha512sums=('SKIP')
  19.  
  20. pkgver() {
  21.   cd "$_pkgname"
  22.   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  23. }
  24.  
  25. build() {
  26.   cd "$_pkgname"
  27.   python setup.py build
  28. }
  29.  
  30. package() {
  31.   cd "$_pkgname"
  32.   python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
  33. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top