blob: 48e8d3590d10cebfdb67e3f76b774e35bc915c4a (
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
|
# Maintainer: sballert <sballert@posteo.de>
# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com>
_pkgsrcname=epl
_pkgmaintainer=cask
_pkgdestdirname=epl
_versionprefix=
pkgver=0.9
pkgrel=1
pkgdesc="Emacs Package Library"
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=('8c0bba890f0e97c84f4dc8fb338eea9ac34dffdc1731042a2d85411b44461f66')
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}/"
}
|