From 0cb8fcd03ef77df3ea2e025c18a4cbd4b77bc1e5 Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Thu, 11 Jun 2020 15:57:03 -0500 Subject: [PATCH] added first PKGBUILD --- PKGBUILD | 22 ++++++++++++++++++++++ README.md | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..ac80745 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Eric Lay +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://gitlab.com/airclay/$pkgname" +license=('GPL') +depends=('pacman' + 'yay' + 'fzf') +makedepends=('git') +#install= TODO add post install script to sync pacman file database. +source=("git://gitlab.com/airclay/$pkgname") +md5sums=('SKIP') + +package() { + cd "$srcdir" + install -dm755 $pkgdir/usr/bin + cp -r $scrdir/$pkgname/bin $pkgdir/usr + chmod a+x $pkgdir/usr/bin/* +} diff --git a/README.md b/README.md index 52e56af..6f0474a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # fuzzy-pkg-finder **Simple cli command for using fzf to search and install packages.**\ -Performs live search by package name and presents full package information.\ +Performs live search by package name and presents package information including file list in preview pane.\ +\ *For use with Pacman or Yay package managers only.* \ No newline at end of file