summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoroozyslug2015-07-09 19:31:48 +0530
committeroozyslug2015-07-09 19:31:48 +0530
commitb1bca753c96d022f029570ad5dc78d8c830811c2 (patch)
tree2ab4409dbe8091445d0e94423110e55d5594c73b
downloadaur-b1bca753c96d022f029570ad5dc78d8c830811c2.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD30
-rw-r--r--antigen.install4
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3ed7186fe6c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = antigen-git
+ pkgdesc = A plugin manager for zsh, inspired by oh-my-zsh and vundle.
+ pkgver = r358.7860ce7
+ pkgrel = 1
+ url = https://github.com/zsh-users/antigen
+ install = antigen.install
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = zsh
+ source = git+https://github.com/zsh-users/antigen
+ md5sums = SKIP
+
+pkgname = antigen-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..73a62fdf1ad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: oozyslug <oozyslug at gmail dot com>
+# Contributor: oozyslug <oozyslug at gmail dot com>
+# Submitter: oozyslug <oozyslug at gmail dot com>
+
+_pkgname=antigen
+pkgname=antigen-git
+pkgver=r358.7860ce7
+pkgrel=1
+pkgdesc="A plugin manager for zsh, inspired by oh-my-zsh and vundle."
+arch=('any')
+url="https://github.com/zsh-users/antigen"
+source=("git+https://github.com/zsh-users/antigen")
+md5sums=('SKIP')
+license=('MIT')
+depends=('zsh')
+makedepends=('git')
+install='antigen.install'
+
+pkgver() {
+ cd $srcdir/$_pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ cd $srcdir/$_pkgname
+ mkdir -p $pkgdir/usr/share/zsh/scripts/antigen
+ cp -R ./ $pkgdir/usr/share/zsh/scripts/antigen
+ cd $pkgdir/usr/share/zsh/scripts/antigen
+ rm -R .git
+}
diff --git a/antigen.install b/antigen.install
new file mode 100644
index 00000000000..218b82909a3
--- /dev/null
+++ b/antigen.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo "To use antigen, include the following line in your .zshrc:
+ source /usr/share/zsh/scripts/antigen/antigen.zsh "
+}