24 lines
624 B
Bash
24 lines
624 B
Bash
# Maintainer: Eric Lay <ericlaytm@gmail.com>
|
|
pkgname=fuzzy-pkg-finder
|
|
pkgver=0.1
|
|
pkgrel=1
|
|
pkgdesc="Simple cli command for using fzf to search and install packages"
|
|
arch=(any)
|
|
url="https://github.com/ericlay/$pkgname"
|
|
license=('GPL')
|
|
depends=('pacman'
|
|
'yay'
|
|
'fzf')
|
|
makedepends=('git')
|
|
source=("git://github.com/ericlay/$pkgname")
|
|
md5sums=('SKIP')
|
|
|
|
package() {
|
|
cd "$srcdir"
|
|
install -dm755 $pkgdir/usr/bin
|
|
cp -r $srcdir/$pkgname/bin $pkgdir/usr
|
|
chmod a+x $pkgdir/usr/bin/*
|
|
install -dm755 "$pkgdir"/usr/share/libalpm/hooks/
|
|
install -m644 $srcdir/$pkgname/fuzzy-pkg-finder.hook "$pkgdir"/usr/share/libalpm/hooks/
|
|
}
|