diff options
author | haawda | 2019-02-17 19:03:47 +0100 |
---|---|---|
committer | haawda | 2019-02-17 19:03:47 +0100 |
commit | 368f9abd6745024ec09d2fdb2c25ded9ac00c8ea (patch) | |
tree | dc9bb0e7e983d344409df2c529be7d5453209522 /PKGBUILD | |
download | aur-368f9abd6745024ec09d2fdb2c25ded9ac00c8ea.tar.gz |
initial upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7670d0b41597 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=emacs-ag-git +pkgver=0.47r49.g77b4f50 +pkgrel=1 +pkgdesc="An Emacs frontend to The Silver Searcher (binary name ag)" +arch=('any') +url="https://github.com/Wilfred/ag.el" +license=('GPL3') +depends=('emacs' 'emacs-dash' 'emacs-s') +makedepends=('git') +provides=('emacs-ag') +conflicts=('emacs-ag') +source=("git+${url}.git") +md5sums=('SKIP') + +pkgver() { + cd ag.el + git describe --tags | sed 's+-+r+' | tr - . +} + +build() { + cd ag.el + emacs -q --no-splash -batch -L . -f batch-byte-compile *.el +} + +package() { + cd ag.el + mkdir -p "$pkgdir"/usr/share/emacs/site-lisp + install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp +} |