summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a9c3c7702436c71b296d3cd10b9bee00be8b2bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Alex Whitt <alex.joseph.whitt@gmail.com>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=emacs-ht-git
pkgver=2.2.r16.ga5a046e
pkgrel=1
pkgdesc="The missing Emacs hash table library."
arch=('any')
url="https://github.com/Wilfred/ht.el"
license=('GPL3')
depends=('emacs-dash')
makedepends=('cask' 'git')
conflicts=('emacs-ht')
provides=('emacs-ht')
source=("git+$url")
sha256sums=('SKIP')

pkgver() {
  cd "ht.el"
  git describe --tags | sed 's+-+.r+'| tr - .
}

package() {
  cd ht.el
  install -d "$pkgdir"/usr/share/emacs/site-lisp/
  install -m644 *.el "$pkgdir"/usr/share/emacs/site-lisp/
}