From d752650652eab21d5661a91295f54012ce830b5a Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Fri, 2 Feb 2018 16:26:15 +0100 Subject: pcr/emacs-magit: added in favour of emacs-magit-git --- pcr/emacs-magit/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pcr/emacs-magit/PKGBUILD (limited to 'pcr/emacs-magit/PKGBUILD') diff --git a/pcr/emacs-magit/PKGBUILD b/pcr/emacs-magit/PKGBUILD new file mode 100644 index 000000000..8dcf0785c --- /dev/null +++ b/pcr/emacs-magit/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer (AUR): Esben Haabendal +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +# parabola changes and rationale: +# - added replaces for previous pkgname 'emacs-magit-git' (2018-02-02) + +pkgname=emacs-magit +pkgver=2.11.0 +pkgrel=1 +pkgdesc="It's Magit! A Emacs mode for Git." +arch=('any') +_github_org="magit" +_github_repo="magit" +url="http://github.com/${_github_org}/${_github_repo}" +license=('GPL3') +depends=('emacs' 'git' 'emacs-dash>=2.13.0' 'emacs-with-editor-git>=2.6.0') +provides=('emacs-magit' 'emacs-magit-popup') +conflicts=('emacs-magit-git' 'emacs-magit-popup') +replaces=('emacs-magit-git') +install="${pkgname}.install" +source=("git+https://github.com/${_github_org}/${_github_repo}.git#tag=$pkgver") +md5sums=('SKIP') + +build() { + cd "$srcdir/${_github_repo}" + make LOAD_PATH="-L /usr/share/emacs/site-lisp -L /usr/share/emacs/site-lisp/dash -L ${srcdir}/magit/lisp" \ + lisp docs +} + +package() { + cd "$srcdir/${_github_repo}" + make PREFIX="/usr" DESTDIR="${pkgdir}" install +} -- cgit v1.2.3