diff options
author | Poscat | 2019-12-04 21:38:33 +0800 |
---|---|---|
committer | Poscat | 2019-12-04 21:38:33 +0800 |
commit | 8804bf47a2b974bdd6f8b6afb271756475794130 (patch) | |
tree | 834744e4d053179c7c81afe127d2f8359b23cfba /PKGBUILD | |
download | aur-8804bf47a2b974bdd6f8b6afb271756475794130.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dcc0cf919e45 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Poscat <poscat@mail.poscat.moe> + +pkgname=emacs-rich-minority +pkgver=1.0.3 +pkgrel=1 +pkgdesc="Project Interaction Library for Emacs" +arch=(any) +url="https://github.com/Malabarba/rich-minority" +license=('GPL3') +depends=('emacs') +source=("https://github.com/Malabarba/rich-minority/archive/${pkgver}.tar.gz") +sha256sums=('0062979b9fff26886d5136a51c920af8327a3757c5073cf9789a67d5fed2e7fe') + +build() { + cd "${srcdir}/rich-minority-${pkgver}" + emacs -q --no-splash -batch -L . -f batch-byte-compile *.el +} + +package() { + cd "${srcdir}/rich-minority-${pkgver}" + mkdir -p "${pkgdir}/usr/share/emacs/site-lisp/rich-minority/" + install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/rich-minority/" +} |