blob: b46868682accf1f2ad49443e376e0539fddfc9a2 (
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
26
27
28
|
# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
_pkgsrcname=sesman
_pkgmaintainer=vspinu
_pkgdestdirname=sesman
_versionprefix=v
pkgver=0.3.4
pkgrel=1
pkgdesc="Generic Session Manager for Emacs"
pkgname=emacs-${_pkgdestdirname}
arch=(any)
url="https://github.com/${_pkgmaintainer}/${_pkgsrcname}"
license=('GPL3')
depends=('emacs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/${_versionprefix}${pkgver}.tar.gz")
sha256sums=('cb32689dd2eeb0eb15b095ef00e4df783ed334353fa830864b11ed4ec200ddbd')
build() {
cd "${srcdir}/${_pkgsrcname}-${pkgver}"
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
}
package() {
cd "${srcdir}/${_pkgsrcname}-${pkgver}"
mkdir -p "${pkgdir}/usr/share/emacs/site-lisp/${_pkgdestdirname}/"
install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/${_pkgdestdirname}/"
}
|