summaryrefslogtreecommitdiff
path: root/pcr/quack/PKGBUILD
blob: 4be985b5730fdf58cd430f2297835a2ca1852500 (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
# Contributor (AUR): Geoffrey Teale <tealeg@member.fsf.org>
# Maintainer (AUR): Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>

pkgname=quack  
pkgver=0.48
pkgrel=1
pkgdesc="[Emacs] enhanced support for editing and running Scheme code."
url="http://www.neilvandyke.org/quack"
arch=('any')
license=('GPL')
depends=('emacs')
makedepends=('emacs')
install=quack.install
source=("http://www.neilvandyke.org/${pkgname}/${pkgname}.el")
sha256sums=('1e581c9669ee0dfbfcc47954a82e06b34e9950b607872dde961ffb92cb5175c0')
EMACS=emacs # or sxemacs, or xemacs

build() {
  $EMACS --batch --eval '(byte-compile-file "quack.el")'
}

package() {
  install -Dm644 $pkgname.el $pkgdir/usr/share/$EMACS/site-lisp/$pkgname.el
  install -Dm644 $pkgname.elc $pkgdir/usr/share/$EMACS/site-lisp/$pkgname.elc
}