summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-11-20 11:38:12 +0100
committerhaawda2018-11-20 11:38:12 +0100
commitc8e2a9ada03b6d4adbd5bbbe79cb8581125e48f1 (patch)
tree294040343bb0dfcb39012fbc58fcac782abd2276
parentd0818450c8952657640b673d3d72b149f4d0e2d9 (diff)
downloadaur-c8e2a9ada03b6d4adbd5bbbe79cb8581125e48f1.tar.gz
fix url
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a24563fe00..c5733f6faf8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ pkgbase = emacs-js2-mode
pkgdesc = An improved JavaScript mode for GNU Emacs
pkgver = 20180301
pkgrel = 1
- url = http://code.google.com/p/js2-mode/
+ url = https://github.com/mooz/js2-mode/
arch = any
license = GPL2
depends = emacs
diff --git a/PKGBUILD b/PKGBUILD
index 779b004c394..c0245b652a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,18 +7,19 @@ pkgver=20180301
pkgrel=1
pkgdesc="An improved JavaScript mode for GNU Emacs"
arch=('any')
-url="http://code.google.com/p/js2-mode/"
+url="https://github.com/mooz/js2-mode/"
license=('GPL2')
depends=('emacs')
source=($pkgname-$pkgver.tar.gz::https://github.com/mooz/js2-mode/archive/$pkgver.tar.gz)
md5sums=('70a06771ad3c535b7afb194eeefc366b')
build() {
- cd "$srcdir"/${pkgname#emacs-}-$pkgver
+ cd ${pkgname#emacs-}-$pkgver
make
}
+
package() {
- cd "$srcdir"/${pkgname#emacs-}-$pkgver
+ cd ${pkgname#emacs-}-$pkgver
install -Dm644 js2-mode.el "$pkgdir"/usr/share/emacs/site-lisp/js2-mode.el
install -Dm644 js2-mode.elc "$pkgdir"/usr/share/emacs/site-lisp/js2-mode.elc
install -Dm644 js2-old-indent.el "$pkgdir"/usr/share/emacs/site-lisp/js2-old-indent.el