summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1fc26d79ce5b3b867b8928a17f8f30c24542e993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: ShadowKyogre <shadowkyogre dot public at gmail dot com>
# Contributor: rnons <remotenonsense at gmail dot com>

pkgname=mikidown-git
_githubuser=ShadowKyogre
_gitname=mikidown
pkgver=0.3.11.r0.g87bdf2f
pkgrel=1
pkgdesc="A note taking application featuring markdown syntax"
arch=('any')
url="https://shadowkyogre.github.com/mikidown"
license=('MIT')
makedepends=('git')
depends=(
    'python-pyqt5'
    'python-markdown'
    'python-whoosh'
)
optdepends=('python-pygments: for code block syntax highlighting'
            'python-pyenchant: for spellchecking'
            'aspell-en: pyenchant need backend support from aspell'
            'python-asciimathml: for asciimath support' 
            'python-html2text: for converting to markdown (instead of HTML pasting)' 
            'slickpicker: for better color picking in mikidown for the highlighting color scheme')
provides=('mikidown')
conflicts=('mikidown')
source=("git://github.com/${_githubuser}/${_gitname}.git")
md5sums=(SKIP)

pkgver() {
    cd "${srcdir}/${_gitname}"
    git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

package(){
    cd "${srcdir}/${_gitname}"
    lrelease-qt5 mikidown.pro
    python setup.py install --root="$pkgdir"
}