aports/testing/emacs-derl/APKBUILD
Celeste 40ea6c48d7 */*: add maintainer variable for aports i maintain
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment

since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
2024-10-16 16:20:45 +00:00

40 lines
1.2 KiB
Text

# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=emacs-derl
pkgver=0_git20231004
_gitrev=6f31592bb3083de366cdb13a7db0ed69fc72de47
pkgrel=0
_pkgreal=derl
pkgdesc="Emacs implementation of the Erlang distribution protocol"
url="https://github.com/axelf4/derl.el"
arch="noarch"
license="GPL-3.0-or-later"
depends="cmd:emacs"
makedepends="emacs-nox"
source="https://github.com/axelf4/derl.el/archive/$_gitrev/emacs-derl-$_gitrev.tar.gz"
builddir="$srcdir/derl.el-$_gitrev"
build() {
emacs -batch -q -no-site-file -L . \
-eval '(setq byte-compile-error-on-warn t)' \
-f batch-byte-compile \
./*.el
}
check() {
emacs -batch -q -no-site-file -L . -L test \
-l derl-tests -f ert-run-tests-batch-and-exit
}
package() {
install -Dvm644 ./*.el ./*.elc \
-t "$pkgdir"/usr/share/emacs/site-lisp/
cd "$pkgdir"/usr/share/emacs/site-lisp
emacs -batch -q -no-site-file \
-eval "(loaddefs-generate \".\" \"$_pkgreal-loaddefs.el\")"
}
sha512sums="
02c1a1b4114f5ecb41d3977f2440bdd2b55ec4f590005b3d271a3e0d76d453b62515f25bb374718e5fa8b8096e8540460e74560e1c336b211e1e790cd89ba4f8 emacs-derl-6f31592bb3083de366cdb13a7db0ed69fc72de47.tar.gz
"