summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fcfd0f58468f4d390e71484d2346bc19fa426123 (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
# Maintainer: David Vogt <dave at winged dot ch>
# This PKGBUILD is maintained at https://github.com/winged/aur-packages

pkgname=notevim-git
pkgver=0.r26.8ede414
pkgrel=1
pkgdesc="A script to help you manage your notes and access them quickly"
arch=('x86_64' 'i686')
license=('BSD')
url='https://github.com/winged/notevim'
depends=('wmctrl')
provides=('notevim' 'notevim-git')
conflicts=()
optdepends=('python-neovim: If you want to use it with Neovim')

source=("$pkgname::git://github.com/winged/notevim.git"
        "LICENSE::https://raw.githubusercontent.com/winged/notevim/master/LICENSE")
sha256sums=('SKIP' '2eb36a7daa0b8aebd44467eefd37ef289c99cfdd4c7189d5c436a7bef8ce1c51')
pkgver() {
  cd "${pkgname}"
  printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$pkgname"
  if [ ! -d "$pkgdir/usr/bin" ]; then
    mkdir -p "$pkgdir/usr/bin"
  fi
  install notevim "$pkgdir/usr/bin"
}

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