summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFranc[e]sco2020-08-22 18:42:48 +0200
committerFranc[e]sco2020-08-22 18:42:48 +0200
commitf90056225d1c4ed4030f9a8fe0cdd60134f767d6 (patch)
tree13240dfe10c932205838adc3749c4bd0fc083861 /PKGBUILD
downloadaur-bim-git.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..66dc0d272ef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}
+