summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6088b0ece9aa386e1ad76dd12aa2c2b26fe4632a (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
# Maintainer: jonas-w < aur at 03j dot de >
pkgname=h-m-m-git
pkgver=r176.576f2c6
pkgrel=1
pkgdesc="h-m-m is a keyboard-centric terminal-based tool for working with mind maps."
arch=('any')
url="https://github.com/nadrad/h-m-m"
license=('GPL3')
depends=('php')
makedepends=('git')
optdepends=(
'xclip: clipboard support (x11)'
'xsel: clipboard support (x11)'
'wl-clipboard: clipboard support (wayland)'
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname}::git+https://github.com/nadrad/h-m-m")
md5sums=('SKIP')
pkgver() {
  cd "${pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package(){
  cd "${srcdir}/${pkgname}"
  install -D -m755 h-m-m "${pkgdir}/usr/bin/h-m-m"
}