summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50701317c89070274a8859275c3c4563cde58e38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Mikhail felixoid Shiryaev mr<dot>felixoid<at>gmail<dot>com

_name='git-prompt.zsh'
pkgname="${_name}"
pkgver=2.0.0
pkgrel=2
pkgdesc='A fast, pure-shell, single-file Git prompt for Zsh.'
arch=('any')
url="https://github.com/woefe/${_name}"
license=('MIT')
source=("https://github.com/woefe/git-prompt.zsh/archive/v${pkgver}.tar.gz")
depends=('git' 'zsh')
sha256sums=('f9761a98761b4329e3c831ab5ccb67a052a160387b5429d6c4c8786ab2670e02')

package() {
	cd "${srcdir}/${_name}-${pkgver}"
	install -d "${pkgdir}/usr/share/zsh/scripts"
	install -m 0644 "${_name}" "${pkgdir}/usr/share/zsh/scripts/"
    install -d "${pkgdir}/usr/share/licenses/${pkgname}"
    install -m 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"
}