desktop/everpad/PKGBUILD
2015-03-15 13:42:21 +00:00

34 lines
1.1 KiB
Bash

pkgname=everpad
pkgver=2.15.8
pkgrel=3
pkgdesc="An Evernote client"
arch=('x86_64')
url="http://github.com/nvbn/everpad"
license=('MIT')
depends=('python2-pyside' 'python2-magic' 'python2-oauth2' 'python2-sqlalchemy'
'python2-beautifulsoup3' 'qtwebkit' 'python2-html2text' 'shiboken' 'sni-qt'
'python2-dbus' 'python2-pysqlite' 'python2-keyring' 'python2-regex' 'python2-py-oauth2')
makedepends=('python2-distribute')
install=everpad.install
options=('!docs')
source=("https://launchpad.net/~nvbn-rm/+archive/ppa/+files/everpad_$pkgver.orig.tar.xz") # change to launchpad for temerorary no tag on github
sha256sums=('e081fc86afd419c5836b03e0289aa54fe0216b71d037e504ae2eea13a299ae51')
build() {
cd "${srcdir}/${pkgname}"
python2 setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python2 setup.py install --root="${pkgdir}/" --optimize=1
install -dm 755 ${pkgdir}/usr/share/licenses/${pkgname}
install -Dm644 docs/license.txt $pkgdir/usr/share/licenses/$pkgname/
install -dm 755 $pkgdir/usr/lib/python2.7/site-packages/share/everpad/
install -Dm 644 everpad/pad/editor/editor.html $pkgdir/usr/lib/python2.7/site-packages/share/everpad/
}