aports/testing/emacs-sqlite3-api/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.1 KiB
Text

# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=emacs-sqlite3-api
pkgver=0.18
pkgrel=0
_pkgreal=sqlite3-api
pkgdesc="SQLite3 API for Emacs 25+"
url="https://github.com/pekingduck/emacs-sqlite3-api"
arch="all"
license="GPL-3.0-or-later"
depends="cmd:emacs"
makedepends="emacs-nox sqlite-dev"
source="https://github.com/pekingduck/emacs-sqlite3-api/archive/refs/tags/v$pkgver/emacs-sqlite3-api-$pkgver.tar.gz"
build() {
make
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 tests \
-l regression -f ert-run-tests-batch-and-exit
}
package() {
install -Dvm644 ./*.el ./*.elc ./*.so \
-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="
de6eced2092e0686945d1ad53caa641c22893f0cc1dd1d5b62b867235b6458320d08846cdab4012f0ccaff575a2fdaeebfc4eb760170aaf76f6c2c27722f6da8 emacs-sqlite3-api-0.18.tar.gz
"