aboutsummaryrefslogtreecommitdiffstats
path: root/testing/emacs-srv/APKBUILD
blob: 5c3e4a5f090dc67909a4325a46beafb5eec9594f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=emacs-srv
pkgver=0.2_git20180715
_gitrev=714387d5a5cf34d8d8cd96bdb1f9cb8ded823ff7
pkgrel=0
_pkgreal=srv
pkgdesc="Elisp library to perform SRV DNS requests"
url="https://github.com/legoscia/srv.el"
arch="noarch"
license="GPL-2.0-or-later"
depends="cmd:emacs"
makedepends="emacs-nox"
source="https://github.com/legoscia/srv.el/archive/$_gitrev/emacs-srv-$_gitrev.tar.gz
	optional-dns.el.patch
	"
builddir="$srcdir/srv.el-$_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/

	cd "$pkgdir"/usr/share/emacs/site-lisp
	emacs -batch -q -no-site-file \
		-eval "(loaddefs-generate \".\" \"$_pkgreal-loaddefs.el\")"
}

sha512sums="
72dc537f5db29009b2cdffc5b35d330adaa6793bba29773f49d294280f32ad082456cf5482cf773512cb85ad00113a9780c40c36ad663558ec6d772c09d0e1bc  emacs-srv-714387d5a5cf34d8d8cd96bdb1f9cb8ded823ff7.tar.gz
818343236430be0c1959fd62d75b636a08977632a733b3ee0f6c060621576bedf7f9e323337929ddcfac3b6ff50e64567a4eb666da7bede3561349b5236d9e04  optional-dns.el.patch
"