blob: b5e0b1fb1d9b1a02f28e803b6d5cea68643b2e5f (
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
28
29
30
31
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=webmacs-docs-git
pkgver=r793.f2e85c3
pkgrel=1
pkgdesc="browser for keyboard-based web navigation"
arch=('any')
url="https://github.com/parkouss/webmacs"
license=('GPL3')
makedepends=('webmacs-git' 'python-sphinx' 'git')
source=("git+https://github.com/akshaybadola/webmacs")
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-docs-git}"
printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
}
build() {
cd "${pkgname%-docs-git}"/docs
make texinfo man
cd _build/texinfo
make
}
package() {
cd "${pkgname%-docs-git}"/docs/_build/
install -Dm644 texinfo/${pkgname%-docs-git}.info "$pkgdir"/usr/share/info/${pkgname%-docs-git}.info
install -Dm644 man/${pkgname%-docs-git}.1 "$pkgdir"/usr/share/man/man1/${pkgname%-docs-git}.1
}
|