aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-04-11 01:13:11 +0200
committerMattias Andrée <maandree@operamail.com>2013-04-11 01:13:11 +0200
commitace38d931d298d39d2dfa0716aed782df81b94f8 (patch)
treefe9bec9732aa86cf518ef18b0b9620084f5aa38c
parentderp (diff)
downloadaur-packages-ace38d931d298d39d2dfa0716aed782df81b94f8.tar.gz
aur-packages-ace38d931d298d39d2dfa0716aed782df81b94f8.tar.bz2
aur-packages-ace38d931d298d39d2dfa0716aed782df81b94f8.tar.xz
new version of paredit
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--paredit/PKGBUILD18
-rwxr-xr-xparedit/watch2
2 files changed, 9 insertions, 11 deletions
diff --git a/paredit/PKGBUILD b/paredit/PKGBUILD
index c5589a2..d323745 100644
--- a/paredit/PKGBUILD
+++ b/paredit/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=paredit
pkgver=23
-pkgrel=1
+_pkgver=$pkgver
+pkgrel=2
pkgdesc="Emacs minor mode for pseudo-structurally editing Lisp code"
arch=('any')
url="http://www.emacswiki.org/emacs/ParEdit"
@@ -9,23 +10,20 @@ 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')
+source=("http://mumble.net/~campbell/emacs/$pkgname-${_pkgver}.el")
+sha256sums=('c8d154870902b1b8aad44168560c8785d5eff552e44b36baa493f5fda540e8da')
build() {
cd "$srcdir"
- # XXX: should be using paredit-$pkgver here
- emacs -Q -batch -f batch-byte-compile paredit-beta.el
+ emacs -Q -batch -f batch-byte-compile paredit-${_pkgver}.el
}
package() {
cd "$srcdir"
- # XXX: should be using paredit-$pkgver
- install -D -m644 paredit-beta.elc \
+ install -D -m644 paredit-${_pkgver}.elc \
"$pkgdir/usr/share/emacs/site-lisp/paredit.elc" || return 1
- install -D -m644 paredit-beta.el \
+ install -D -m644 paredit-${_pkgver}.el \
"$pkgdir/usr/share/emacs/site-lisp/paredit.el" || return 1
}
+
diff --git a/paredit/watch b/paredit/watch
index 2cc78e0..71ad30d 100755
--- a/paredit/watch
+++ b/paredit/watch
@@ -2,7 +2,7 @@
[ -f paredit.release ] && rm paredit.release
-wget 'http://mumble.net/~campbell/emacs/paredit.release' -O paredit.release >/dev/null 2>/dev/null
+wget 'http://mumble.net/~campbell/emacs' -O paredit.release >/dev/null 2>/dev/null
if [ $? = 0 ]; then
[ -f unfetchable ] && rm unfetchable