summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD25
2 files changed, 14 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a3d82a2c326..b73fd3f2ccb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Sat Nov 3 12:12:20 UTC 2018
pkgbase = emacs-sdcv
pkgdesc = An extension to lookup words through sdcv (StarDict Console Version) in Emacs.
- pkgver = 1.5.2
+ pkgver = 2.7
pkgrel = 1
url = http://code.google.com/p/sdcv-mode/
install = emacs-sdcv.install
@@ -8,10 +10,9 @@ pkgbase = emacs-sdcv
license = GPL
depends = emacs
depends = sdcv
- source = https://www.emacswiki.org/emacs/download/showtip.el
+ depends = emacs-posframe
source = https://www.emacswiki.org/emacs/download/sdcv.el
- md5sums = 9f23b6c45b48d2055a154fae74f5c348
- md5sums = 2574be32d3010ac6e923def079b45e2c
+ sha256sums = 6e24f5a8df40be8b865fd7b55a60f69568f664fb066bd05c58202c61eb71e120
pkgname = emacs-sdcv
diff --git a/PKGBUILD b/PKGBUILD
index d2499a43df9..ae81ee83c47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,30 +2,23 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-sdcv
-pkgver=1.5.2
+pkgver=2.7
pkgrel=1
pkgdesc="An extension to lookup words through sdcv (StarDict Console Version) in Emacs."
arch=('any')
url="http://code.google.com/p/sdcv-mode/"
license=('GPL')
-depends=('emacs' 'sdcv')
+depends=('emacs' 'sdcv' 'emacs-posframe')
install=$pkgname.install
-source=(https://www.emacswiki.org/emacs/download/showtip.el https://www.emacswiki.org/emacs/download/sdcv.el)
-md5sums=('9f23b6c45b48d2055a154fae74f5c348'
- '2574be32d3010ac6e923def079b45e2c')
+source=(https://www.emacswiki.org/emacs/download/sdcv.el)
+sha256sums=('6e24f5a8df40be8b865fd7b55a60f69568f664fb066bd05c58202c61eb71e120')
build() {
- emacs -Q -batch -L . -f batch-byte-compile showtip.el
- emacs -Q -batch -L . -f batch-byte-compile sdcv.el
+ emacs -Q -batch -L /usr/share/emacs/site-lisp -f batch-byte-compile sdcv.el
}
package() {
- install -D -m 644 "$srcdir/showtip.el" \
- "$pkgdir/usr/share/emacs/site-lisp/showtip.el"
- install -D -m 644 "$srcdir/showtip.elc" \
- "$pkgdir/usr/share/emacs/site-lisp/showtip.elc"
-
- install -D -m 644 "$srcdir/sdcv.el" \
- "$pkgdir/usr/share/emacs/site-lisp/sdcv.el"
- install -D -m 644 "$srcdir/sdcv.elc" \
- "$pkgdir/usr/share/emacs/site-lisp/sdcv.elc"
+ install -D -m 644 "$srcdir"/${pkgname#emacs-}.el \
+ "$pkgdir"/usr/share/emacs/site-lisp/${pkgname#emacs-}.el
+ install -D -m 644 "$srcdir"/${pkgname#emacs-}.elc \
+ "$pkgdir"/usr/share/emacs/site-lisp/${pkgname#emacs-}.elc
}