summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dcc0cf919e458e3c1c721b59dd71ee4d90783d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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/"
}