diff options
author | Stefan Husmann | 2015-06-09 00:24:37 +0200 |
---|---|---|
committer | Stefan Husmann | 2015-06-09 00:24:37 +0200 |
commit | dd8c20a2ac4f0ea9196a0a090590bd74bbe8c6e4 (patch) | |
tree | d0da6edf17c60a6dcd159b48e4dccf151aec7b73 | |
download | aur-dd8c20a2ac4f0ea9196a0a090590bd74bbe8c6e4.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..15500a28ccd7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = emacs-yasnippet-latex-git + pkgdesc = LaTeX snippets for emacs yasnippets + pkgver = 2014_02_18 + pkgrel = 1 + url = https://github.com/madsdk/yasnippets-latex/ + arch = any + license = GPLv3 + makedepends = git + depends = emacs-yasnippet + depends = auctex + provides = emacs-yasnippet-latex + provides = emacs-yasnippet-latex-git + conflicts = emacs-yasnippet-latex + conflicts = emacs-yasnippet-latex-git + source = git://github.com/madsdk/yasnippets-latex.git + md5sums = SKIP + +pkgname = emacs-yasnippet-latex-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fe8e324848bb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: karnath <karnathtorjian@gmail.com> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +pkgname=emacs-yasnippet-latex-git +pkgver=2014_02_18 +pkgrel=1 +pkgdesc="LaTeX snippets for emacs yasnippets" +arch=('any') +url="https://github.com/madsdk/yasnippets-latex/" +license=('GPLv3') +depends=('emacs-yasnippet' 'auctex') +makedepends=('git') +conflicts=('emacs-yasnippet-latex' 'emacs-yasnippet-latex-git') +provides=('emacs-yasnippet-latex' 'emacs-yasnippet-latex-git') +source=('git://github.com/madsdk/yasnippets-latex.git') +md5sums=('SKIP') +_gitname="yasnippets-latex" + +pkgver() { + cd "$srcdir"/$_gitname + echo $(git log -1 --format="%cd" --date=short | sed 's+-+_+g') +} + +package(){ + cd ${srcdir}/$_gitname + install -d ${pkgdir}/usr/share/emacs/site-lisp/yas/snippets/latex-mode + ./install.sh ${pkgdir}/usr/share/emacs/site-lisp/yas +} + |