# Maintainer: Juliette Monsel pkgname=mynotes pkgver=2.4.2 pkgrel=1 pkgdesc="Desktop post-it / sticky notes managed from system tray icon" arch=('any') url="https://github.com/j4321/MyNotes" license=('GPL3') makedepends=('python-setuptools') depends=('tk' 'python-ewmh' 'python-pillow' 'gettext' 'desktop-file-utils') optdepends=('tktray: GUI toolkit for the system tray icon (at least one must be installed)', 'pygtk: GUI toolkit for the system tray icon (at least one must be installed)', 'python-pyqt5: GUI toolkit for the system tray icon (at least one must be installed)', 'python-pyqt4: GUI toolkit for the system tray icon (at least one must be installed)', 'python-pyside: GUI toolkit for the system tray icon (at least one must be installed)', 'python-tkfilebrowser: nicer file browser', 'zenity: nicer file browser', 'texlive-bin: basic LaTeX formula support', 'python-matplotlib: basic LaTeX formula support') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/j4321/MyNotes/archive/v${pkgver}.tar.gz" "${pkgname}-${pkgver}.tar.gz.asc::https://github.com/j4321/MyNotes/releases/download/v${pkgver}/MyNotes-${pkgver}.tar.gz.asc") sha512sums=('496ea66241abae96d4cf211dc79fa98cc85f4e883607c343b883650ddb7fccea9634ebc89ce04bfce636a10644936d1ef0e2dfa2bd7f60595d899f9e4ea19b8d' 'SKIP') validpgpkeys=('F7E6D310FC0EA1C508EEF57F9D3922470AA9CD44') build() { cd "$srcdir/MyNotes-${pkgver}" python setup.py build } package() { cd "$srcdir/MyNotes-${pkgver}" python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 --skip-build }