mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
44 lines
1 KiB
Text
44 lines
1 KiB
Text
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=emacs-lab
|
|
pkgver=2.2.2
|
|
pkgrel=0
|
|
_pkgreal=lab
|
|
pkgdesc="Emacs interface for GitLab"
|
|
url="https://github.com/isamert/lab.el"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
cmd:curl
|
|
cmd:emacs
|
|
emacs-async-await
|
|
emacs-compat
|
|
emacs-f
|
|
emacs-memoize
|
|
emacs-promise
|
|
emacs-request
|
|
emacs-s
|
|
"
|
|
makedepends="emacs-nox"
|
|
source="https://github.com/isamert/lab.el/archive/v$pkgver/emacs-lab-$pkgver.tar.gz"
|
|
builddir="$srcdir/lab.el-$pkgver"
|
|
options="!check" # no tests provided
|
|
|
|
build() {
|
|
emacs -batch -q -no-site-file -L . \
|
|
-f batch-byte-compile \
|
|
./*.el
|
|
}
|
|
|
|
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="
|
|
82bf469201b37b4d6c8a997b6473c5aa8cf82c19388eb55841287f87803bf178debcb95b4539207edc870bda058bf263483afd2bc1e6ee837b7edaa2f922d252 emacs-lab-2.2.2.tar.gz
|
|
"
|