diff options
author | sballert | 2018-09-06 18:55:49 +0200 |
---|---|---|
committer | sballert | 2018-09-06 18:55:49 +0200 |
commit | 32c7c80d0f01435e4d417be08dc5462a85d25c00 (patch) | |
tree | 0a642461ca51cdb8c37310d22e2873c956b35fda /PKGBUILD | |
download | aur-32c7c80d0f01435e4d417be08dc5462a85d25c00.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d975d2d5ca34 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: sballert <sballert@posteo.de> + +_gituser="politza" +_gitrepo="tablist" + +pkgname=emacs-tablist-git +pkgver=r42.c834a84 +pkgrel=1 +pkgdesc="Extended tabulated-list-mode" +url="https://github.com/${_gituser}/${_gitrepo}" +arch=('any') +license=('GPL3') +depends=('emacs') +makedepends=('git') +provides=('emacs-tablist') +conflicts=('emacs-tablist') +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" + 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}/ +} |