summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a669621d6f3c3c1861127b59dc6e6b354daa5f6a (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
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
_pkgname=notestorm
pkgname=notestorm-git
pkgver=r14.6beca18
pkgrel=1
pkgdesc="Extremely powerful and easy note taking app for the CLI written in bash"
arch=('any')
url="https://git.2mb.codes/~stormdragon2976/$_pkgname"
license=('GPL')
depends=('bash' 'dialog' 'w3m')
makedepends=('git')
optdepends=('gnupg: Encrypted notes support')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+${url}")
md5sums=("SKIP")

pkgver()
{
  cd "$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
 
package()
 {
  cd "$_pkgname"
  install -D -m755 "notestorm" "$pkgdir/usr/bin/notestorm"
  }

# vim:set ts=2 sw=2 et: