| 1 | # Contributor: Celeste <[email protected]> |
| 2 | # Maintainer: |
| 3 | pkgname=emacs-plz-see |
| 4 | pkgver=0_git20231101 |
| 5 | _gitrev=c55e6aa2971caad582df1d449e0f57604250cae1 |
| 6 | pkgrel=1 |
| 7 | _pkgreal=plz-see |
| 8 | pkgdesc="Interactive HTTP client based on Emacs-plz" |
| 9 | url="https://github.com/astoff/plz-see.el" |
| 10 | arch="noarch" |
| 11 | license="GPL-3.0-or-later" |
| 12 | depends=" |
| 13 | cmd:emacs |
| 14 | emacs-plz |
| 15 | " |
| 16 | makedepends="emacs-nox" |
| 17 | source="https://github.com/astoff/plz-see.el/archive/$_gitrev/emacs-plz-see-$_gitrev.tar.gz" |
| 18 | builddir="$srcdir/plz-see.el-$_gitrev" |
| 19 | options="!check" # no tests provided |
| 20 | |
| 21 | build() { |
| 22 | emacs -batch -q -no-site-file -L . \ |
| 23 | -eval '(setq byte-compile-error-on-warn t)' \ |
| 24 | -f batch-byte-compile \ |
| 25 | ./*.el |
| 26 | } |
| 27 | |
| 28 | package() { |
| 29 | install -Dvm644 ./*.el ./*.elc \ |
| 30 | -t "$pkgdir"/usr/share/emacs/site-lisp/plz/ |
| 31 | |
| 32 | cd "$pkgdir"/usr/share/emacs/site-lisp/plz |
| 33 | emacs -batch -q -no-site-file \ |
| 34 | -eval "(loaddefs-generate \".\" \"$_pkgreal-loaddefs.el\")" |
| 35 | } |
| 36 | |
| 37 | sha512sums=" |
| 38 | 21344c9771e1a79a0dc7faf8bdcb29a4a8cfb97ef34105cf4752e69a80b6c18a1d975c2e3ad70124132156e2282a10d100fb506c8bf084d80afffc9f018a8584 emacs-plz-see-c55e6aa2971caad582df1d449e0f57604250cae1.tar.gz |
| 39 | " |