diff options
author | haawda | 2020-12-12 22:50:26 +0100 |
---|---|---|
committer | haawda | 2020-12-12 22:50:26 +0100 |
commit | 15dfa0b775d7b1f090873844ce67e96ab14fd464 (patch) | |
tree | aa7a51e79eda7082f328e779aad4b8b0c0bdb6f3 /PKGBUILD | |
parent | 7f9e41df700ef05bba426bf35d1466655fc00f36 (diff) | |
download | aur-15dfa0b775d7b1f090873844ce67e96ab14fd464.tar.gz |
initial upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 47 |
1 files changed, 26 insertions, 21 deletions
@@ -1,11 +1,11 @@ -# Maintainer: Jamie Beardslee -# Emacs Application Framework written by Andy Stewart <lazycat.manatee@gmail.com> +# Contributor: Jamie Beardslee +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> -pkgname="emacs-eaf" -pkgver=2.0.0 -pkgrel=2 +pkgname=emacs-application-framework-git +pkgver=r1587.9e1b531 +pkgrel=1 pkgdesc="EAF extends GNU Emacs to an entire universe of powerful GUI applications." -arch=('x86_64') +arch=('any') url="https://github.com/manateelazycat/emacs-application-framework" license=('GPL3') depends=('emacs' 'python-dbus' 'python-pyqt5' 'python-pyqtwebengine' 'wmctrl') @@ -15,27 +15,32 @@ optdepends=('python-pymupdf: for pdf viewer' 'python-feedparser: for rss reader' 'python-pyinotify: for mermaid' 'python-markdown: for mermaid' - 'nodejs: for terminal' + 'nodejs: for mermaid' 'aria2: for browser' 'libreoffice: doc viewer' - 'filebrowser-bin: for file browser') + 'filebrowser: for file browser') makedepends=('git') provides=('emacs-eaf') conflicts=('emacs-eaf') -source=("emacs-eaf::https://github.com/manateelazycat/emacs-application-framework") -options=(!strip) +source=("git+https://github.com/manateelazycat/emacs-application-framework") 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 +pkgver() { + cd "${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} +package() { + cd "${pkgname%-git}" + install -d "$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 + install -Dm644 README.md "$pkgdir"/usr/share/doc/emacs-eaf/README.md + # no binaries under /usr/share + rm "$pkgdir"/usr/share/emacs/site-lisp/eaf/app/terminal/node_modules/node-pty/build/Release/pty.node + rmdir "$pkgdir"/usr/share/emacs/site-lisp/eaf/app/terminal/node_modules/node-pty/build/Release + rm "$pkgdir"/usr/share/emacs/site-lisp/eaf/app/terminal/node_modules/node-pty/node_modules/nan + rmdir "$pkgdir"/usr/share/emacs/site-lisp/eaf/app/terminal/node_modules/node-pty/node_modules/ } |