summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4fadfeaec8c022299a5c68c5e6a39f9239e42af9 (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
# Maintainer: M.Reynolds <blackboxnetworkproject@gmail.com>
# Contributer: Fabian Henze <flyser42@gmx.de>

pkgname=cournal
pkgver=r207.23392b8
pkgrel=1
pkgdesc='A collaborative note taking and journal application using a stylus.'
arch=('any')
license=('GPL3')
url='https://github.com/flyser/cournal'
depends=('python' 'gtk3' 'poppler-glib' 'gobject-introspection' 'python-gobject'
         'python-zope-interface' 'hicolor-icon-theme' 'desktop-file-utils' 'intltool')
makedepends=('git' 'mercurial')
source=('git+https://github.com/flyser/cournal.git')
md5sums=('SKIP')

pkgver () {
    cd "$srcdir/$pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/$pkgname"
    ./download-twisted.sh
}

package () {
    cd "$srcdir/$pkgname"
    install -d 755 "$pkgdir"
    python setup.py install --root="$pkgdir" --optimize=1
}