summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fadca46990300503871a86636de496786a98582 (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
# Maintainer: Jamie Beardslee
# Emacs Application Framework written by Andy Stewart <lazycat.manatee@gmail.com>

pkgname="emacs-eaf"
pkgver=2.0.0
pkgrel=1
pkgdesc="EAF extends GNU Emacs to an entire universe of powerful GUI applications."
arch=('x86_64')
url="https://github.com/manateelazycat/emacs-application-framework"
license=('GPL3')
depends=('emacs' 'python-dbus' 'python-pyqt5' 'python-pyqtwebengine' 'wmctrl')
optdepends=('python-pymupdf: for pdf viewer'
	    'python-grip: for markdown preview'
	    'python-qrcode: for qr codes'
	    'python-feedparser: for rss reader'
	    'python-pyinotify: for mermaid'
	    'python-markdown: for mermaid'
	    'nodejs: for terminal'
	    'aria2: for browser'
	    'libreoffice: doc viewer'
	    'filebrowser-bin: for file browser')
makedepends=('git')
provides=('emacs-eaf')
conflicts=('emacs-eaf')
source=("emacs-eaf::https://github.com/manateelazycat/emacs-application-framework")
options=(!strip)
md5sums=('SKIP')

package() {
    cd "$srcdir/emacs-eaf"

    mkdir -p "$pkgdir"/usr/share/emacs/site-lisp/eaf/
    for _i in app core docker *.el *.py
    do
	cp -r ${_i} "$pkgdir"/usr/share/emacs/site-lisp/eaf/
    done
    
    mkdir -p "$pkgdir"/usr/share/doc/emacs-eaf/
    cp README.md "$pkgdir"/usr/share/doc/emacs-eaf/README.md

}