fuzzy-pkg-finder/PKGBUILD

23 lines
553 B
Bash
Raw Normal View History

2020-06-11 15:57:03 -05:00
# 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)
2020-06-11 16:12:40 -05:00
url="https://github.com/ericlay/$pkgname"
2020-06-11 15:57:03 -05:00
license=('GPL')
depends=('pacman'
2020-06-11 16:12:40 -05:00
'yay'
'fzf')
2020-06-11 15:57:03 -05:00
makedepends=('git')
#install= TODO add post install script to sync pacman file database.
2020-06-11 16:12:40 -05:00
source=("git://github.com/ericlay/$pkgname")
2020-06-11 15:57:03 -05:00
md5sums=('SKIP')
package() {
cd "$srcdir"
install -dm755 $pkgdir/usr/bin
cp -r $scrdir/$pkgname/bin $pkgdir/usr
chmod a+x $pkgdir/usr/bin/*
}