summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78671baeb8190efc27f1af76fd3b8e709fff834d (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
# Maintainer: Patrice Peterson <runiq at archlinux dot us>

pkgname=jrnl
pkgver=2.3.1
pkgrel=1
pkgdesc="A simple command line journal application that stores your journal in a plain text file"
arch=('any')
url="https://maebert.github.io/jrnl"
license=('MIT')
depends=('python-parsedatetime>=1.2'
         'python-yaml>=5.1.2'
         'python-pytz>=2013b'
         'python-six>=1.6.1'
         'python-tzlocal>=1.1'
         'python-keyring>=3.3'
         'python-dateutil>=2.2'
         'python-passlib>=1.6.2'
         'python-asteval>=0.9.8'
         'python-xdg>=0.26')
optdepends=('python-crypto: AES256-encrypted journal')
source=("https://pypi.python.org/packages/source/j/$pkgname/$pkgname-${pkgver}.tar.gz")
sha256sums=('c780f656e61516fe7cbb1fa5e96e1959df3f7340c6c6cc7af69239cc19dd3dc1')

package() {
  cd "$pkgname-$pkgver"
  python setup.py install --root="$pkgdir"
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: