diff options
author | Carlos Aznarán Laos | 2022-03-15 16:01:40 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2022-03-15 16:01:40 -0500 |
commit | e3953897ca08b32e6b047ecd4cd6bc9794eec0dd (patch) | |
tree | 9c00a6f986cb9823b7ca31a85d27069bcb648c45 | |
parent | 22eb5ffdd687a3b6a83ac34823d196bbf2620d83 (diff) | |
download | aur-e3953897ca08b32e6b047ecd4cd6bc9794eec0dd.tar.gz |
Fix git sources
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 23 insertions, 25 deletions
@@ -1,10 +1,10 @@ -pkgbase = emacs-yasnippet-latex-git +pkgbase = emacs-yasnippets-latex-git pkgdesc = LaTeX snippets for emacs yasnippets pkgver = 2014_02_18 pkgrel = 1 - url = https://github.com/madsdk/yasnippets-latex/ + url = https://github.com/madsdk/yasnippets-latex arch = any - license = GPLv3 + license = GPL3 makedepends = git depends = emacs-yasnippet depends = auctex @@ -12,8 +12,7 @@ pkgbase = emacs-yasnippet-latex-git 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 + source = git+https://github.com/madsdk/yasnippets-latex + sha512sums = SKIP +pkgname = emacs-yasnippets-latex-git @@ -1,28 +1,27 @@ # Contributor: karnath <karnathtorjian@gmail.com> -# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> -pkgname=emacs-yasnippet-latex-git +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> +_base=yasnippets-latex +pkgname=emacs-${_base}-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" +arch=(any) +url="https://github.com/madsdk/${_base}" +license=(GPL3) +depends=(emacs-yasnippet auctex) +makedepends=(git) +conflicts=(emacs-yasnippet-latex emacs-yasnippet-latex-git) +provides=(emacs-yasnippet-latex emacs-yasnippet-latex-git) +source=(git+${url}) +sha512sums=('SKIP') pkgver() { - cd $_gitname + cd ${_base} echo $(git log -1 --format="%cd" --date=short | sed 's+-+_+g') } -package(){ - cd $_gitname - install -d "$pkgdir"/usr/share/emacs/site-lisp/yas/snippets/latex-mode - ./install.sh "$pkgdir"/usr/share/emacs/site-lisp/yas +package() { + cd ${_base} + install -d "$pkgdir"/usr/share/emacs/site-lisp/yas/snippets/latex-mode + ./install.sh "$pkgdir"/usr/share/emacs/site-lisp/yas } - |