blob: dc1a5c11c1342f34d53142e87e337edf8dd8bbc9 (
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
|
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=hedgedoc-cli-git
_pkgname=hedgedoc-cli
pkgver=r97.defeac8
pkgrel=1
pkgdesc='A tiny CLI for HedgeDoc'
arch=('any')
url="https://github.com/hedgedoc/cli"
license=('AGPL-3.0')
depends=('curl' 'wget' 'jq')
provides=($_pkgname)
conflicts=($_pkgname)
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -Dm755 "$srcdir/$pkgname/bin/hedgedoc" "$pkgdir/usr/bin/hedgedoc"
ln -s "$pkgdir/usr/bin/hedgedoc" "$pkgdir/usr/bin/codimd"
}
|