diff options
author | sballert | 2018-08-31 20:39:42 +0200 |
---|---|---|
committer | sballert | 2018-08-31 20:39:42 +0200 |
commit | 634305d09b7c9c13c1776ed4b9b44b2095ff90a2 (patch) | |
tree | 1c817c00fe14d2574317d8c707d5c1ec30b1b587 | |
download | aur-emacs-lispyville-git.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1a64641371f1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = emacs-lispyville-git + pkgdesc = lispy + evil = lispyville + pkgver = r88.8c5fdec + pkgrel = 1 + url = https://github.com/noctuid/lispyville + arch = any + license = GPL3 + makedepends = git + depends = emacs + depends = emacs-evil + depends = emacs-lispy + provides = emacs-lispyville + conflicts = emacs-lispyville + source = git+https://github.com/noctuid/lispyville.git + sha256sums = SKIP + +pkgname = emacs-lispyville-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1aa6d295a352 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: sballert <sballert@posteo.de> + +_gituser="noctuid" +_gitrepo="lispyville" + +pkgname=emacs-lispyville-git +pkgver=r88.8c5fdec +pkgrel=1 +pkgdesc="lispy + evil = lispyville" +url="https://github.com/${_gituser}/${_gitrepo}" +arch=('any') +license=('GPL3') +depends=('emacs' 'emacs-evil' 'emacs-lispy') +makedepends=('git') +provides=('emacs-lispyville') +conflicts=('emacs-lispyville') +source=("git+https://github.com/${_gituser}/${_gitrepo}.git") +sha256sums=('SKIP') + +pkgver() { + cd "$_gitrepo" + printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD) +} + +build() { + cd "$_gitrepo" + rm lispyville-test.el + emacs -q --no-splash -batch -L . -f batch-byte-compile *.el +} + +package() { + cd "$_gitrepo" + install -d "$pkgdir"/usr/share/emacs/site-lisp/${_gitrepo}/ + install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/${_gitrepo}/ +} |