mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
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
35 lines
1 KiB
Text
35 lines
1 KiB
Text
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=emacs-hackernews
|
|
pkgver=0.7.0
|
|
pkgrel=0
|
|
_pkgreal=hackernews
|
|
pkgdesc="Hacker News client using Firebase API"
|
|
url="https://github.com/clarete/hackernews.el"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="cmd:emacs"
|
|
makedepends="emacs-nox"
|
|
source="https://github.com/clarete/hackernews.el/archive/v$pkgver/emacs-hackernews-$pkgver.tar.gz"
|
|
builddir="$srcdir/hackernews.el-$pkgver"
|
|
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="
|
|
1de6075de0ed841b6c617e0016ab7e37619a7360676aba01e1c8a7a6e401dc600298c66a9c9da907af0c510d09c74f6fc4f49fdf9e400e9bdbb42cc3f853cdc8 emacs-hackernews-0.7.0.tar.gz
|
|
"
|