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

44 lines
1.2 KiB
Text

# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=emacs-epkg
pkgver=3.3.3_git20240713
_gitrev=1cd6d608de91cb887eaaaafed4c574543b41ea51
pkgrel=0
_pkgreal=epkg
pkgdesc="Browse the Emacsmirror package database"
url="https://github.com/emacscollective/epkg"
arch="noarch"
license="GPL-3.0-or-later"
depends="
cmd:emacs
cmd:git
cmd:sqlite3
emacs-closql
emacs-compat
emacs-emacsql
emacs-llama
"
makedepends="emacs-nox"
source="https://github.com/emacscollective/epkg/archive/$_gitrev/emacs-epkg-$_gitrev.tar.gz"
builddir="$srcdir/$_pkgreal-$_gitrev/lisp"
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="
2c0c1451c31bfd924a04eb34f1275f4a5681f9d588d3842df2c8d972d4cf0fd164457f077650da0c868fa1c0996937520e8b41fd7b265bb2b24f7470d806e6bc emacs-epkg-1cd6d608de91cb887eaaaafed4c574543b41ea51.tar.gz
"