@@ -7,10 +7,16 @@ pkgdesc='pure prompt for zsh'
|
|||||||
arch=('any')
|
arch=('any')
|
||||||
url='https://github.com/sindresorhus/pure'
|
url='https://github.com/sindresorhus/pure'
|
||||||
license=('MIT')
|
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() {
|
package() {
|
||||||
|
cd $srcdir/$pkgname
|
||||||
install -Dm644 pure.zsh \
|
install -Dm644 pure.zsh \
|
||||||
"$pkgdir/usr/share/zsh/functions/Prompts/prompt_pure_setup"
|
"$pkgdir/usr/share/zsh/functions/Prompts/prompt_pure_setup"
|
||||||
}
|
}
|
||||||
md5sums=('673c5d65495ba6942938925ab4cff2d8')
|
|
||||||
|
|||||||
Reference in New Issue
Block a user