blob: a5015af56267da4813092197e17c6d7244acd01d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# shellcheck disable=2034
# Maintainer: Andres Rodriguez Michel <andresmichelrodriguez@gmail.com>
pkgname=git-prompt
pkgver=1.0.2
pkgrel=1
pkgdesc="Displays a compact color-coded git status, git branch, and more inside your shell prompt"
arch=(any)
url="https://github.com/Dosx001/GitPrompt"
makedepends=(cmake make)
source=("https://github.com/Dosx001/GitPrompt/archive/refs/tags/$pkgver.tar.gz")
md5sums=("3be831578a8fa7f8f2e957914bb7a71d")
build() {
cd "GitPrompt-$pkgver"
cmake CMakeLists.txt
make
}
package() {
cd "GitPrompt-$pkgver"
install -Dm755 bin/$pkgname "${pkgdir}/usr/bin/$pkgname"
}
|