summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1904dac33c03e49caabfc4f2fea5f010f364b81 (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
# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Maintainer: L.G. Sarmiento (Pico) <Luis.Sarmientop@nuclear.lu.se>
pkgname=htmlize-git
_pkgname=htmlize
pkgver=r129.8db0aa6
pkgrel=1
pkgdesc="Convert buffer text and decorations to HTML"
url="https://github.com/hniksic/emacs-htmlize"
arch=('any')
license=('GPL2')
depends=('emacs')
provides=("htmlize")
makedepends=('git')

source=($_pkgname::git+https://github.com/hniksic/emacs-htmlize.git)
md5sums=('SKIP')

pkgver() {
  cd ${srcdir}/$_pkgname
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  install -m644 -D ${srcdir}/$_pkgname/htmlize.el $pkgdir/usr/share/emacs/site-lisp/htmlize.el
}