diff options
author | haawda | 2018-06-07 19:00:56 +0200 |
---|---|---|
committer | haawda | 2018-06-07 19:00:56 +0200 |
commit | 1dc3a9d16c111e9a07646060c93dc91873a4d590 (patch) | |
tree | 0b099781a998b4cf0684821eea45a97775c630de | |
parent | 62c121df71b0c529804cbbc873f6df2cfd240461 (diff) | |
download | aur-1dc3a9d16c111e9a07646060c93dc91873a4d590.tar.gz |
change install file and pkgver, quote some pkgdir variables
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 | ||||
-rw-r--r-- | yasnippet.install | 4 |
3 files changed, 10 insertions, 10 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Sun Nov 26 10:51:12 UTC 2017 +# Thu Jun 7 16:59:49 UTC 2018 pkgbase = emacs-yasnippet-git pkgdesc = Yet another template system for Emacs - git version - pkgver = 0.12.2_4_g4ab9cb5 + pkgver = 0.13.0.r3.ge67592c pkgrel = 1 url = https://github.com/capitaomorte/yasnippet install = yasnippet.install @@ -1,6 +1,6 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=emacs-yasnippet-git -pkgver=0.12.2_4_g4ab9cb5 +pkgver=0.13.0.r3.ge67592c pkgrel=1 pkgdesc="Yet another template system for Emacs - git version" arch=('any') @@ -15,12 +15,12 @@ md5sums=('SKIP') _gitname=yasnippet pkgver() { - cd "$srcdir"/$_gitname - git describe --tags|sed 's/-/_/g' + cd $_gitname + git describe --tags|sed 's/-/.r/'|sed 's/-/./' } package () { - cd "$srcdir/$_gitname" - install -d $pkgdir/usr/share/emacs/site-lisp/yas - cp -r * $pkgdir/usr/share/emacs/site-lisp/yas + cd $_gitname + install -d "$pkgdir"/usr/share/emacs/site-lisp/yas + cp -r * "$pkgdir"/usr/share/emacs/site-lisp/yas } diff --git a/yasnippet.install b/yasnippet.install index a7e4b3eff398..2f6fb776ad84 100644 --- a/yasnippet.install +++ b/yasnippet.install @@ -1,7 +1,7 @@ post_install() { echo " add the following in your .emacs file:" echo " (add-to-list 'load-path \"/usr/share/emacs/site-lisp/yas\")" - echo " (add-to-list 'load-path \"~/.emacs.d/plugins/yasnippet\") and create that directory" + echo " (add-to-list 'load-path \"~/.emacs.d/plugins/yasnippet\") ;; and create that directory" echo " (require 'yasnippet) ;; not yasnippet-bundle" echo " (yas-global-mode 1)" } @@ -10,5 +10,5 @@ post_upgrade() { post_install } pre_remove() { - echo "If you like remove the yasnippet stuff from your .emacs" + echo "If you like remove the yasnippet stuff from your .emacs and the directory \"~/.emacs.d/plugins/yasnippet\"" } |