summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engeström2015-06-09 01:47:09 +0200
committerEric Engeström2015-06-09 01:47:09 +0200
commitf18c06f67b8f0df8e90cd883c608a17b14dc5cc1 (patch)
treef187f57bf6a54978406ebdfd7a68ce03f2086814
downloadaur-f18c06f67b8f0df8e90cd883c608a17b14dc5cc1.tar.gz
initial commit - r20.92c4e73-1
-rw-r--r--.SRCINFO11
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD25
3 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f44782ca78e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,11 @@
+pkgbase = i3-vim-syntax-git
+ pkgdesc = Vim syntax for i3 window manager config
+ pkgver = r20.92c4e73
+ pkgrel = 1
+ url = https://github.com/PotatoesMaster/i3-vim-syntax
+ arch = any
+ source = git+https://github.com/PotatoesMaster/i3-vim-syntax
+ md5sums = SKIP
+
+pkgname = i3-vim-syntax-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..ba12fb0eac4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+i3-vim-syntax/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f0039d5ef1c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
+
+pkgname=i3-vim-syntax-git
+pkgver=r20.92c4e73
+pkgrel=1
+pkgdesc="Vim syntax for i3 window manager config"
+arch=('any')
+url="https://github.com/PotatoesMaster/i3-vim-syntax"
+source=("git+$url")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/i3-vim-syntax"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd "$srcdir/i3-vim-syntax"
+
+ local _vimfiles="$pkgdir/usr/share/vim/vimfiles"
+ for dir in */
+ do
+ install -Dm644 "${dir}i3.vim" "$_vimfiles/${dir}i3.vim"
+ done
+}