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

35 lines
1.1 KiB
Text

# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=emacs-svg-lib
pkgver=0_git20240219
_gitrev=39621cd178dbf903414156d893c1eefe217b7c29
pkgrel=0
_pkgreal=svg-lib
pkgdesc="SVG tags, progress bars & icons for Emacs"
url="https://github.com/rougier/svg-lib"
arch="noarch"
license="GPL-3.0-or-later"
depends="cmd:emacs"
makedepends="emacs-nox"
source="https://github.com/rougier/svg-lib/archive/$_gitrev/emacs-svg-lib-$_gitrev.tar.gz"
builddir="$srcdir/$_pkgreal-$_gitrev"
options="!check" # no tests provided
build() {
emacs -batch -q -no-site-file -L . \
-f batch-byte-compile \
svg-lib.el
}
package() {
install -Dvm644 svg-lib.el svg-lib.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="
cb4f5df903c4c4132741d0c5779c98137c1e4396d13bb7aee28516c27f5f08020d7431dec0e9e9b96439044d69e8c7977a1c45a06e875e1fc1969dd457ced220 emacs-svg-lib-39621cd178dbf903414156d893c1eefe217b7c29.tar.gz
"