diff options
author | Esben Haabendal | 2017-12-15 21:40:23 +0100 |
---|---|---|
committer | Esben Haabendal | 2017-12-15 21:40:23 +0100 |
commit | 75eea886de73da0f5a27665d9f1db73c6bf3699f (patch) | |
tree | 6b9ccd2d8f009faa539f8d8f29d567724a756da6 | |
download | aur-75eea886de73da0f5a27665d9f1db73c6bf3699f.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..26eaf67a8a9c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = emacs-ghub + pkgdesc = Emacs - Minuscule client library for the Github API + pkgver = 1.1.0 + pkgrel = 1 + url = http://github.com/magit/ghub + arch = any + license = GPL3 + makedepends = git + depends = emacs>=24.4 + provides = emacs-ghub + source = git+https://github.com/magit/ghub.git#tag=v1.1.0 + md5sums = SKIP + +pkgname = emacs-ghub + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..32dc10e54173 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Esben Haabendal <esben@haabendal.dk> + +pkgname=emacs-ghub +_github_org="magit" +_github_repo="ghub" +pkgver=1.1.0 +pkgrel=1 +pkgdesc="Emacs - Minuscule client library for the Github API" +arch=('any') +url="http://github.com/${_github_org}/${_github_repo}" +license=('GPL3') +depends=('emacs>=24.4') +makedepends=('git') +provides=('emacs-ghub') +source=("git+https://github.com/${_github_org}/${_github_repo}.git#tag=v${pkgver}") +md5sums=('SKIP') + +build() { + cd "$srcdir/${_github_repo}" + emacs -batch -Q -L . -f batch-byte-compile ghub.el +} + +package() { + cd "$srcdir/${_github_repo}" + mkdir -p ${pkgdir}/usr/share/emacs/site-lisp + install -m 644 ghub.{el,elc} ${pkgdir}/usr/share/emacs/site-lisp +} |