summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-10-22 08:23:16 +0200
committerhaawda2019-10-22 08:23:16 +0200
commitf7fdadaa4fef09acd4262f608107c70cbfed274c (patch)
treefd3021a21b71e3aa736130f73191356e6bd66253
parentf661d3ce82b6d90bf6ec0f7e26ebc6ff5becddab (diff)
downloadaur-f7fdadaa4fef09acd4262f608107c70cbfed274c.tar.gz
use cask for building
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4471f94f8ed..54708533c54 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
pkgbase = emacs-nim-mode
pkgdesc = Emacs mode for the nim programming language
pkgver = 0.4.1
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/nim-lang/nim-mode
arch = any
license = GPL3
+ makedepends = cask
depends = emacs-dash
depends = emacs-epc
depends = emacs-ctable
diff --git a/PKGBUILD b/PKGBUILD
index 5a3eaf0daf7..aa2b8eceefa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,25 @@
pkgname=emacs-nim-mode
pkgver=0.4.1
-pkgrel=3
+pkgrel=4
pkgdesc="Emacs mode for the nim programming language"
arch=('any')
url="https://github.com/nim-lang/nim-mode"
license=('GPL3')
depends=('emacs-dash' 'emacs-epc' 'emacs-ctable' 'emacs-epl' 'emacs-deferred' 'emacs-company-mode' 'emacs-commander' 'emacs-flycheck')
+makedepends=('cask')
source=("$pkgname-$pkgver.tar.gz::https://github.com/nim-lang/nim-mode/archive/v$pkgver.tar.gz" Makefile.patch)
sha256sums=('2fb54b05e144f72bc15b7f8bc1112535bf22f6a3b7bfbe6d8a5a2ab7206a5815'
'20fef5db29d67788dd22cbc9dd97dd2a778a66a0b6f0b80aa9776d08cadb4576')
prepare() {
- cd ${pkgname#emacs-}-$pkgver
- patch -Np1 < "$srcdir"/Makefile.patch
+ cd ${pkgname#emacs-}-$pkgver
+ patch -Np1 < "$srcdir"/Makefile.patch
}
build() {
cd ${pkgname#emacs-}-$pkgver
- make
+ cask build
}
package() {