diff options
author | Alexander | 2019-10-07 11:02:46 +0200 |
---|---|---|
committer | Alexander | 2019-10-07 11:05:10 +0200 |
commit | 4a795c9d8bc42bc6ef3941bdb673a2f0fbf65d83 (patch) | |
tree | 1bfc160bcdea8b2411f1101385c8b4e214bff4d2 | |
download | aur-4a795c9d8bc42bc6ef3941bdb673a2f0fbf65d83.tar.gz |
First version of pretty-git-prompt
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..89b2546c392b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = pretty-git-prompt + pkgdesc = Pretty git status for your shell prompt + pkgver = 0.2.0 + pkgrel = 1 + url = https://github.com/TomasTomecek/pretty-git-prompt + arch = any + license = MIT + makedepends = rust + depends = git + source = https://github.com/TomasTomecek/pretty-git-prompt/archive/0.2.0.tar.gz + md5sums = de78492d10f69c9946ecec184ea00398 + +pkgname = pretty-git-prompt + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bc8ab7839781 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Alexander Rundberg <alexanderrundberg [at] fastmail [dot] jp> +pkgname=pretty-git-prompt +pkgver=0.2.0 +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') +source=("https://github.com/TomasTomecek/pretty-git-prompt/archive/$pkgver.tar.gz") +md5sums=('de78492d10f69c9946ecec184ea00398') + + +package() { + cd "$srcdir"/"$pkgname"-"$pkgver" + make exec-stable-build + install -Dm755 target/release/pretty-git-prompt "$pkgdir"/usr/bin/pretty-git-prompt +} |