aboutsummaryrefslogtreecommitdiffstats
path: root/paredit/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-03-05 09:54:29 +0100
committerMattias Andrée <maandree@operamail.com>2013-03-05 09:54:29 +0100
commitf269adfb93295f3e14678a6bb93a5c19263e4884 (patch)
treeb2badc305dba5b88135f15b1b283a13c7195996f /paredit/PKGBUILD
parentupdate gitignore (diff)
downloadaur-packages-f269adfb93295f3e14678a6bb93a5c19263e4884.tar.gz
aur-packages-f269adfb93295f3e14678a6bb93a5c19263e4884.tar.bz2
aur-packages-f269adfb93295f3e14678a6bb93a5c19263e4884.tar.xz
adopt paredit
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'paredit/PKGBUILD')
-rw-r--r--paredit/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/paredit/PKGBUILD b/paredit/PKGBUILD
new file mode 100644
index 0000000..c5589a2
--- /dev/null
+++ b/paredit/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+pkgname=paredit
+pkgver=23
+pkgrel=1
+pkgdesc="Emacs minor mode for pseudo-structurally editing Lisp code"
+arch=('any')
+url="http://www.emacswiki.org/emacs/ParEdit"
+license=('GPL')
+makedepends=('emacs')
+install=paredit.install
+changelog=ChangeLog
+# XXX: a stable url to version 23 is not available
+# XXX: this is the "current" release, which happens to be 23
+source=("http://mumble.net/~campbell/emacs/$pkgname-beta.el")
+md5sums=('dcb8caf2f2204846a8a3c59756520c24')
+
+build() {
+ cd "$srcdir"
+ # XXX: should be using paredit-$pkgver here
+ emacs -Q -batch -f batch-byte-compile paredit-beta.el
+}
+
+package() {
+ cd "$srcdir"
+
+ # XXX: should be using paredit-$pkgver
+ install -D -m644 paredit-beta.elc \
+ "$pkgdir/usr/share/emacs/site-lisp/paredit.elc" || return 1
+ install -D -m644 paredit-beta.el \
+ "$pkgdir/usr/share/emacs/site-lisp/paredit.el" || return 1
+}