diff options
author | Louis Rannou | 2022-02-23 23:43:28 +0100 |
---|---|---|
committer | Louis Rannou | 2022-02-23 23:44:10 +0100 |
commit | 99855868699bff86542f8949efb8cf808008b2a0 (patch) | |
tree | 236ddfeb179dddb0f69c61eee496749f6db4c08a | |
parent | 7966bde7056f971ba6927e89c373d1cd8a1a6120 (diff) | |
download | aur-99855868699bff86542f8949efb8cf808008b2a0.tar.gz |
License is also apache
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | emacs-rust-mode.install | 5 |
3 files changed, 6 insertions, 4 deletions
@@ -5,7 +5,8 @@ pkgbase = emacs-rust-mode url = https://github.com/rust-lang/rust-mode install = emacs-rust-mode.install arch = any - license = Apache + license = Apache, + license = MIT depends = emacs source = https://github.com/rust-lang/rust-mode/archive/refs/tags/1.0.4.tar.gz sha256sums = e8eca03382d01a73bc00b29292d99ee2597023e0e97273e1b1969fb44f140f2e @@ -6,7 +6,7 @@ pkgrel=2 pkgdesc="A major Emacs mode for editing Rust source code" arch=('any') url="https://github.com/rust-lang/rust-mode" -license=('Apache') +license=('Apache', 'MIT') depends=('emacs') install="${pkgname}.install" diff --git a/emacs-rust-mode.install b/emacs-rust-mode.install index 2db65c15f7a5..fba0503111e0 100644 --- a/emacs-rust-mode.install +++ b/emacs-rust-mode.install @@ -6,9 +6,10 @@ post_install() { "Major mode for editing Rust files" nil t) (add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode)) -==> Add this code to ignore optional libraries +==> Add this code to ignore optional libraries: + (defvar rust-load-optional-libraries nil - "Whether loading `rust-mode' also loads optional libraries.") + "Whether loading 'rust-mode' also loads optional libraries.") EOF } |