Close GH-61: Fixed PKGBUILD further.
This commit is contained in:
@@ -1,18 +1,20 @@
|
|||||||
# Author: Sindre Sorhus
|
# Author: Sindre Sorhus
|
||||||
# Maintainer: Pat Brisbin <pbrisbin@gmail.com>
|
# Maintainer: Pat Brisbin <pbrisbin@gmail.com>
|
||||||
pkgname=pure-zsh-prompt
|
# Contributor: Emil Falk <emph@emph.se>
|
||||||
pkgver=0.0.1
|
pkgname=zsh-pure-prompt-git
|
||||||
|
pkgver=r61.7d3b317
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='pure prompt for zsh'
|
pkgdesc='A minimal and 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=($pkgname::${url//https/git})
|
depends=('zsh' 'git')
|
||||||
md5sums=('SKIP')
|
source=("$pkgname::git://github.com/sindresorhus/pure.git")
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$srcdir/$pkgname"
|
cd $srcdir/$pkgname
|
||||||
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|||||||
Reference in New Issue
Block a user