diff options
author | haawda | 2018-10-03 23:33:23 +0200 |
---|---|---|
committer | haawda | 2018-10-03 23:33:23 +0200 |
commit | f3281b5c10fbcfb968b514d7e5ee565e3b249a1a (patch) | |
tree | 9435a117a1a33af8a4960cda61ceca5e3e228471 | |
download | aur-f3281b5c10fbcfb968b514d7e5ee565e3b249a1a.tar.gz |
initial upload
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8c1669b90dd9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = emacs-git.el + pkgdesc = Elisp API for programmatically using Git + pkgver = 0.1.1 + pkgrel = 1 + url = https://github.com/rejeep/git.el.git + arch = any + license = GPL3 + depends = emacs + source = emacs-git.el-0.1.1.tar.gz::https://github.com/rejeep/git.el/archive/v0.1.1.tar.gz + sha256sums = 61f2b3fc5d706d2a5fd927a8e0ae12ffad6335e7f6f93a17f682cbbd69b871d8 + +pkgname = emacs-git.el + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..64b31703c2ef --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=emacs-git.el +pkgver=0.1.1 +pkgrel=1 +pkgdesc="Elisp API for programmatically using Git" +arch=('any') +url="https://github.com/rejeep/git.el.git" +license=('GPL3') +depends=('emacs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/rejeep/${pkgname#emacs-}/archive/v$pkgver.tar.gz") +sha256sums=('61f2b3fc5d706d2a5fd927a8e0ae12ffad6335e7f6f93a17f682cbbd69b871d8') + +build() { + cd ${pkgname#emacs-}-${pkgver} + emacs -q --no-splash -batch -L . -f batch-byte-compile *.el +} + +package() { + cd ${pkgname#emacs-}-${pkgver} + install -d "$pkgdir"/usr/share/emacs/site-lisp/ + install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/ + install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md +} |