summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgnas Anikevicius2019-07-21 00:33:16 +0300
committerIgnas Anikevicius2019-07-21 00:33:16 +0300
commitf43f864a38cc73f1d81cba065d5ed09b424b9ebf (patch)
treec7fc7f3a56534914a684bc10f8f94055ed5dad83
parenta52be639ed7d8d55d3c96d8557172c2b321d5174 (diff)
downloadaur-f43f864a38cc73f1d81cba065d5ed09b424b9ebf.tar.gz
Simplify PKGBUILD
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4f3d13dd1470..5628ca7eb9cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_basename=git-prompt
_pkgname=${_basename}-rs
pkgname=${_pkgname}-git
-pkgver=62
+pkgver=88
pkgrel=1
pkgdesc='Fast git prompt for various shells written in rust'
arch=('i686' 'x86_64')
@@ -26,15 +26,13 @@ package() {
package() {
cd "$srcdir/$_pkgname"
- mkdir -p "$pkgdir/usr/bin"
make \
DESTDIR="$pkgdir" \
PREFIX="/usr" \
+ DOCDIR="/usr/share/man/man1" \
BASHDIR=/etc/bash_completion.d \
ZSHDIR=/usr/share/zsh/site-functions \
FISHDIR=/usr/share/fish/vendor_completions.d \
install
- install -Dm644 LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm644 "$srcdir/$_pkgname/doc/$_basename.man" "$pkgdir/usr/share/man/man1/$_basename.1"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}