summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume ALAUX2015-07-04 14:32:58 +0200
committerGuillaume ALAUX2015-07-04 14:32:58 +0200
commit12a2ef36ebd48f648ac58839176589efddd61568 (patch)
tree026350eb848327b01f466ef6d0cad8d24c3700a7
downloadaur-12a2ef36ebd48f648ac58839176589efddd61568.tar.gz
Initial files
-rw-r--r--.SRCINFO20
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD40
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..52c87b3b96f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = kakoune-git
+ pkgdesc = Code editor heavily inspired by Vim
+ pkgver = r2699.4bbd8a4
+ pkgrel = 1
+ url = https://github.com/mawww/kakoune
+ arch = i686
+ arch = x86_64
+ license = custom:unlicense
+ makedepends = git
+ depends = ncurses
+ depends = boost
+ optdepends = xorg-xmessage: for nicer debugging messages
+ optdepends = xdotool: add support for kak windows switching (in grep, make... files)
+ optdepends = clang: add command for C/CPP insert mode completion support
+ optdepends = ctags-fishman-git: provides `readtags` used by `:tag` command to jump on a tag definition
+ source = kakoune-git::git+https://github.com/mawww/kakoune.git
+ sha256sums = SKIP
+
+pkgname = kakoune-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..353683943f3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.pkg.tar.xz
+*.src.tar.gz
+*.src.tar.xz
+pkg
+src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9095aaf917c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Guillaume ALAUX <Guillaume at ALAUX dot net>
+# Contributor: Shizeeg Unadequatov <shizeeque@gmail.com>
+
+pkgname=kakoune-git
+pkgver=r2699.4bbd8a4
+pkgrel=1
+pkgdesc='Code editor heavily inspired by Vim'
+arch=('i686' 'x86_64')
+url='https://github.com/mawww/kakoune'
+license=('custom:unlicense')
+depends=('ncurses' 'boost')
+optdepends=('xorg-xmessage: for nicer debugging messages'
+ 'xdotool: add support for kak windows switching (in grep, make... files)'
+ 'clang: add command for C/CPP insert mode completion support'
+ 'ctags-fishman-git: provides `readtags` used by `:tag` command to jump on a tag definition')
+makedepends=('git')
+
+source=("${pkgname}::git+https://github.com/mawww/kakoune.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+check() {
+ cd "${srcdir}/${pkgname}/src"
+ make test
+}
+
+build() {
+ cd "${srcdir}/${pkgname}/src"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}/src"
+ make install DESTDIR="${pkgdir}" PREFIX=/usr
+ install -D ../UNLICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}