blob: 3a8eea6d5b7199940109b02e7b7ba7fc19bd62e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Alexander Rundberg <alexanderrundberg [at] fastmail [dot] jp>
# Maintainer: Ryan O'Beirne <ryanobeirne [at] ryanobeirne [dot] com>
pkgname=pretty-git-prompt
pkgver=0.2.2
pkgrel=1
pkgdesc="Pretty git status for your shell prompt"
arch=('any')
url="https://github.com/TomasTomecek/pretty-git-prompt"
license=('MIT')
depends=('git')
makedepends=('rust' 'cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/TomasTomecek/pretty-git-prompt/archive/$pkgver.tar.gz")
sha256sums=('189f2c05e8e1a7bb3b68b71b235c156022086b4cefe8a5521cc5182f64835871')
build() {
cd "$srcdir"/"$pkgname"-"$pkgver"
make exec-stable-build
}
package() {
cd "$srcdir"/"$pkgname"-"$pkgver"
install -Dm755 target/release/pretty-git-prompt "$pkgdir"/usr/bin/pretty-git-prompt
}
|