summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0644cb7f2941dd526b2eadbf00a2d363d3a63b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=emacs-yasnippet-git
pkgver=0.10.0_31_g309fe15
pkgrel=1
pkgdesc="Yet another template system for Emacs - git version"
arch=('any')
url="https://github.com/capitaomorte/yasnippet"
license=('GPL')
makedepends=('git')
provides=('emacs-yasnippet')
conflicts=('emacs-yasnippet')
install=yasnippet.install
source=('git+https://github.com/capitaomorte/yasnippet')
md5sums=('SKIP')
_gitname=yasnippet

pkgver() {
  cd "$srcdir"/$_gitname
  git describe --tags|sed 's/-/_/g'
}

package () {
  cd "$srcdir/$_gitname"
  install -d  $pkgdir/usr/share/emacs/site-lisp/yas
  cp -r * $pkgdir/usr/share/emacs/site-lisp/yas
}