summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14e0586585cfbfb9d0be19483bf3544878785ca3 (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
# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=emacs-seq
pkgver=2.22
pkgrel=1
pkgdesc="Sequence manipulation functions, included in emacs 27"
_pkgname=seq
arch=(any)
url="http://elpa.gnu.org/packages/seq.html"
license=('GPL3')
depends=('emacs')
source=("https://elpa.gnu.org/packages/${_pkgname}-$pkgver.tar")
sha256sums=('aae6979ce7db370181da3c16f7033fb3bcd5c8a1a2e568c6cb0cc9bfd462987e')

build() {
  cd ${_pkgname}-${pkgver}
  emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
}

package() {
  cd ${_pkgname}-${pkgver}
  mkdir -p "$pkgdir"/usr/share/emacs/site-lisp/
  install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/
}