summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db28f98b4d52d0f9621dfd7a9bee564accff4341 (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
32
# Contributor: Wei-Ning Huang <aitjcize@gmail.com>
pkgname=cppman-git
_pkgname=cppman
pkgver=20220122
pkgrel=1
pkgdesc="C++ 98/11/14 manual pages for Linux/MacOS"
arch=("any")
url="https://github.com/aitjcize/cppman"
license=("GPL")
depends=(python python-beautifulsoup4 python-html5lib)
optdepends=("vim: For using vim as a pager")
makedepends=(git)
provides=(cppman)
conflicts=(cppman)
source=("git+https://github.com/aitjcize/${_pkgname}")
sha256sums=("SKIP")


pkgver() {
  cd ${_pkgname}
  git log -1 --format='%cd' --date=short | tr -d -- '-'
}

build() {
  cd ${_pkgname}
  python setup.py build
}

package() {
  cd ${_pkgname}
  python setup.py install --root=${pkgdir}/ --optimize=1
}