summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2b5253026c3c3c1f8e82c034daf61417f5c5f7db (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
40
41
42
43
44
45
# Maintainer:  Hugo Osvaldo Barrera <hugo@barrera.io>

pkgname=geeknote
pkgver=2.0.16
pkgrel=1
pkgdesc='A command line client for Evernote that can be use on Linux, FreeBSD and OS X.'
arch=('any')
url='https://github.com/jeffkowalski/geeknote'
license=('GPL')
depends=('python2'
         'evernote-sdk-python'
         'python2-html2text'
         'python2-sqlalchemy'
         'python2-markdown2-git'
         'python2-thrift'
         'python2-beautifulsoup4'
         'python2-oauth2'
         'python2-lxml'
         'python2-proxyenv-git')
makedepends=('git' 'python2-setuptools')
checkdepends=('python2-pytest')
source=("https://github.com/jeffkowalski/geeknote/archive/v$pkgver.tar.gz")
sha256sums=('273e76dd445cfe84df05bf5a2a6bf9982df3da6febaa939fa4f7ba7af4b2946d')
provides=('geeknote')
conflicts=('geeknote')

build() {
  cd $pkgname-$pkgver
  python2 setup.py build
}

check() {
  cd $pkgname-$pkgver/
  # Tests fail, not sure why yet...
  # py.test2
}

package() {
  cd $pkgname-$pkgver

  python2 setup.py install --root="${pkgdir}" --optimize=1
  install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}

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