summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 66dc0d272ef97001e78cae7bbc7f86177ef20110 (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
# Maintainer: Franc[e]sco <lolisamurai@tfwno.gf>

pkgname=bim-git
pkgver=r821.cd56264
pkgrel=1
pkgdesc='Inspired by Vim, originally written for ToaruOS'
arch=('x86_64')
license=('ISC')
conflicts=('bim')
makedepends=('git')
url='https://github.com/klange/bim'
source=("git+https://github.com/klange/bim.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/bim"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
 cd "$srcdir/bim"
 make
}

package() {
 cd "$srcdir/bim"
 make DESTDIR="${pkgdir}" install
}