summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a5315e1230526d1abc6ed32b6e8d87867b2c4c8 (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: Maxim Moseychuk <franchesko.salias.hudro.pedros@gmail.com>
# 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=v2.2.3.r6.gc91f77c
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' 'git')
makedepends=('make')
install='antigen.install'

pkgver() {
  cd $srcdir/$_pkgname
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd $srcdir/$_pkgname
    make PREFIX=$pkgdir/usr/share/zsh build
    make PREFIX=$pkgdir/usr/share/zsh install
}