Skip to content

Commit

Permalink
Merge pull request sindresorhus#60 from emfa/master
Browse files Browse the repository at this point in the history
Update PKGBUILD
  • Loading branch information
sindresorhus committed Feb 18, 2014
2 parents 1a1f686 + 178bc3e commit 7d3b317
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions arch/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ pkgdesc='pure prompt for zsh'
arch=('any')
url='https://github.com/sindresorhus/pure'
license=('MIT')
source=(pure.zsh)
source=($pkgname::${url//https/git})
md5sums=('SKIP')

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

package() {
cd $srcdir/$pkgname
install -Dm644 pure.zsh \
"$pkgdir/usr/share/zsh/functions/Prompts/prompt_pure_setup"
}
md5sums=('673c5d65495ba6942938925ab4cff2d8')

0 comments on commit 7d3b317

Please sign in to comment.