summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ae81ee83c47..3b4a6f91b36 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=emacs-sdcv
pkgver=2.7
-pkgrel=1
+pkgrel=2
pkgdesc="An extension to lookup words through sdcv (StarDict Console Version) in Emacs."
arch=('any')
-url="http://code.google.com/p/sdcv-mode/"
+url="https://www.emacswiki.org/emacs/Sdcv"
license=('GPL')
-depends=('emacs' 'sdcv' 'emacs-posframe')
+depends=('emacs' 'sdcv' 'emacs-showtip' 'emacs-posframe')
install=$pkgname.install
source=(https://www.emacswiki.org/emacs/download/sdcv.el)
sha256sums=('6e24f5a8df40be8b865fd7b55a60f69568f664fb066bd05c58202c61eb71e120')
@@ -16,6 +16,7 @@ sha256sums=('6e24f5a8df40be8b865fd7b55a60f69568f664fb066bd05c58202c61eb71e120')
build() {
emacs -Q -batch -L /usr/share/emacs/site-lisp -f batch-byte-compile sdcv.el
}
+
package() {
install -D -m 644 "$srcdir"/${pkgname#emacs-}.el \
"$pkgdir"/usr/share/emacs/site-lisp/${pkgname#emacs-}.el