Merge pull request #1 from yochananmarqos/patch-1

Improve PKGBUILD
This commit is contained in:
Eric Lay 2020-06-26 14:37:21 -05:00 committed by GitHub
commit 6d6afa7279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -3,19 +3,18 @@ pkgname=fuzzy-pkg-finder
pkgver=0.8.3
pkgrel=1
pkgdesc="Simple cli command for using fzf to search and install packages"
arch=(any)
arch=('any')
url="https://github.com/ericlay/$pkgname"
license=('GPL')
depends=('pacman'
'yay'
'fzf')
'fzf'
'wget')
makedepends=('git')
source=("git+https://gitlab.com/airclay/fuzzy-pkg-finder.git#tag=v$pkgver")
md5sums=('SKIP')
package() {
cd "$srcdir"
install -dm755 $pkgdir/usr/bin
cp -r $srcdir/$pkgname/fpf $pkgdir/usr/bin/
chmod a+x $pkgdir/usr/bin/*
cd "$srcdir/$pkgname"
install -Dm755 fpf -t "$pkgdir/usr/bin"
}