aports/testing/emacs-consult/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

39 lines
1.1 KiB
Text

# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=emacs-consult
pkgver=1.4_git20240405
_gitrev=ea7043381b93f0a5236f8ee3f21f151380a0b0f5
pkgrel=0
_pkgreal=consult
pkgdesc="Useful commands based on Emacs completing-read"
url="https://github.com/minad/consult"
arch="noarch"
license="GPL-3.0-or-later"
depends="
cmd:emacs
emacs-compat
"
makedepends="emacs-nox"
source="https://github.com/minad/consult/archive/$_gitrev/emacs-consult-$_gitrev.tar.gz"
builddir="$srcdir/$_pkgreal-$_gitrev"
options="!check" # no tests provided
build() {
emacs -batch -q -no-site-file -L . \
-eval '(setq byte-compile-error-on-warn t)' \
-f batch-byte-compile \
./*.el
}
package() {
install -Dvm644 ./*.el ./*.elc \
-t "$pkgdir"/usr/share/emacs/site-lisp/$_pkgreal/
cd "$pkgdir"/usr/share/emacs/site-lisp/$_pkgreal
emacs -batch -q -no-site-file \
-eval "(loaddefs-generate \".\" \"$_pkgreal-loaddefs.el\")"
}
sha512sums="
48ce64d8316f4419b6de420323f3d01df4ae7623778dc681f3ff9465d8e8544e8c47d34c3fe826a9227b03305f1d1e6d1ac021fa3710f3dc446eff83a772ccb0 emacs-consult-ea7043381b93f0a5236f8ee3f21f151380a0b0f5.tar.gz
"