blob: 834bf5ce696b51c9c6973b76dbd2fe27c883035d (
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
29
30
31
|
# Contributor: Tiago Pierezan Camargo <tcamargo@gmail.com>
# Contributor: Richard Murri <admin@richardmurri.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=pymacs
pkgver=0.26
pkgrel=2
pkgdesc='Interface between Emacs Lisp and Python.'
arch=('any')
url='https://github.com/dgentry/Pymacs'
license=('GPL2')
depends=('emacs')
makedepends=('python' 'python-docutils')
conflicts=('emacs-python-mode')
source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
sha256sums=('e876a48a7540d45956fc1c3e623efe638a2093a580c9ab591ebceed0cd7bc707')
install=$pkgname.install
build() {
cd ${pkgname//p/P}-${pkgver}
make PREFIX=/usr
emacs -batch -f batch-byte-compile pymacs.el
python ./setup.py build
}
package() {
cd ${pkgname//p/P}-${pkgver}
python ./setup.py install --prefix="$pkgdir"/usr
install -d "$pkgdir"/usr/share/emacs/site-lisp
install -m 644 $pkgname.{el,elc} "$pkgdir"/usr/share/emacs/site-lisp
}
|