diff options
author | Ignas Anikevicius | 2019-07-21 00:33:16 +0300 |
---|---|---|
committer | Ignas Anikevicius | 2019-07-21 00:33:16 +0300 |
commit | f43f864a38cc73f1d81cba065d5ed09b424b9ebf (patch) | |
tree | c7fc7f3a56534914a684bc10f8f94055ed5dad83 | |
parent | a52be639ed7d8d55d3c96d8557172c2b321d5174 (diff) | |
download | aur-f43f864a38cc73f1d81cba065d5ed09b424b9ebf.tar.gz |
Simplify PKGBUILD
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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" } |