SHARE
TWEET

mikidown-git PKGBUILD suggestion 2014-11-15

a guest Nov 15th, 2014 148 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: ShadowKyogre <shadowkyogre dot public at gmail dot com>
  2. # Contributor: rnons <remotenonsense at gmail dot com>
  3.  
  4. pkgname=mikidown-git
  5. _githubuser=ShadowKyogre
  6. _gitname=mikidown
  7. pkgver=0.3.7.r0.g3c65f50
  8. pkgrel=1
  9. pkgdesc="A note taking application featuring markdown syntax"
  10. arch=('any')
  11. url="https://shadowkyogre.github.com/mikidown"
  12. license=('MIT')
  13. makedepends=('git')
  14. depends=('pyqt'
  15.          'python-markdown'
  16.          'python-whoosh')
  17. optdepends=('python-pygments: for code block syntax highlighting'
  18.             'python-pyenchant: for spellchecking'
  19.             'aspell-en: pyenchant need backend support from aspell'
  20.             'python-asciimathml: for asciimath support'
  21.             'python-html2text: for converting to markdown (instead of HTML pasting)'
  22.             'slickpicker: for better color picking in mikidown for the highlighting color scheme')
  23. provides=('mikidown')
  24. conflicts=('mikidown')
  25. source=("git://github.com/${_githubuser}/${_gitname}.git")
  26. md5sums=(SKIP)
  27.  
  28. pkgver() {
  29.     cd "${srcdir}/${_gitname}"
  30.     git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
  31. }
  32.  
  33. package(){
  34.     cd "${srcdir}/${_gitname}"
  35.     python setup.py install --root="$pkgdir"
  36. }
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