diff options
author | Jon Eyolfson | 2016-07-24 18:19:01 -0400 |
---|---|---|
committer | Jon Eyolfson | 2016-07-24 18:19:01 -0400 |
commit | a6d76f1d2e2d13180832cd85578ce9d7c59cdaa1 (patch) | |
tree | bc22bd6369a983c5eb7f7d5805d715762b58cfd9 | |
parent | 7c08ac53e1900a18f523ea9838480c513fae9f3c (diff) | |
download | aur-a6d76f1d2e2d13180832cd85578ce9d7c59cdaa1.tar.gz |
Update to 0.10.0-1
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 24 | ||||
-rw-r--r-- | yasnippet.install | 13 |
3 files changed, 16 insertions, 32 deletions
@@ -1,14 +1,13 @@ pkgbase = emacs-yasnippet - pkgdesc = Yet another snippet extension for Emacs. - pkgver = 0.8.0 + pkgdesc = Yet another snippet extension for Emacs + pkgver = 0.10.0 pkgrel = 1 - url = https://github.com/capitaomorte/yasnippet - install = yasnippet.install + url = https://github.com/joaotavora/yasnippet arch = any license = MIT depends = emacs - source = https://github.com/downloads/capitaomorte/yasnippet/yasnippet-0.8.0.tar.gz - md5sums = fa343adae588fde44b4ecf4f23c1e2d0 + source = https://github.com/joaotavora/yasnippet/archive/0.10.0.tar.gz + sha256sums = 3817fb04dc3a333e315fb5b50f8403620dc953d9c8494598e1b8a12843fa3ba8 pkgname = emacs-yasnippet @@ -1,21 +1,19 @@ +# Maintainer: Jon Eyolfson <jon@eyl.io> +# Contributor: Gianmarco Brocchi <brocchi@poisson.phc.unipi.it> # Contributor: Hauke Wesselmann <hauke@h-dawg.de> -# Maintainer: Gianmarco Brocchi <brocchi@poisson.phc.unipi.it> pkgname=emacs-yasnippet -pkgver=0.8.0 +pkgver=0.10.0 pkgrel=1 -pkgdesc="Yet another snippet extension for Emacs." +pkgdesc="Yet another snippet extension for Emacs" arch=('any') -url="https://github.com/capitaomorte/yasnippet" +url="https://github.com/joaotavora/yasnippet" license=('MIT') depends=('emacs') -source=(https://github.com/downloads/capitaomorte/yasnippet/yasnippet-$pkgver.tar.gz) -md5sums=('fa343adae588fde44b4ecf4f23c1e2d0') -options=() -install=yasnippet.install +source=("https://github.com/joaotavora/yasnippet/archive/${pkgver}.tar.gz") +sha256sums=('3817fb04dc3a333e315fb5b50f8403620dc953d9c8494598e1b8a12843fa3ba8') -build() { - cd $srcdir/yasnippet-$pkgver - install -d $pkgdir/usr/share/emacs/site-lisp/yas - cp -r * $pkgdir/usr/share/emacs/site-lisp/yas +package() { + cd "${srcdir}/yasnippet-${pkgver}" + install -d "${pkgdir}/usr/share/emacs/site-lisp/yas" + cp -a * "${pkgdir}/usr/share/emacs/site-lisp/yas" } - diff --git a/yasnippet.install b/yasnippet.install deleted file mode 100644 index b9222c5efad8..000000000000 --- a/yasnippet.install +++ /dev/null @@ -1,13 +0,0 @@ -post_install() { - echo " add the following in your .emacs file:" - echo " (add-to-list 'load-path \"/usr/share/emacs/site-lisp/yas\")" - echo " (require 'yasnippet) ;; not yasnippet-bundle" - echo " (yas/global-mode 1) ;; or manually load it with yas-global-mode" -} - -post_upgrade() { - post_install -} -pre_remove() { - echo "If you like remove the yasnippet stuff from your .emacs" -}
\ No newline at end of file |