diff --git a/PKGBUILD b/PKGBUILD index 00c0c3d..f4717d4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ depends=('pacman' 'yay' 'fzf') makedepends=('git') -#install= TODO add post install script to sync pacman file database. +install=$pkgname.install source=("git://github.com/ericlay/$pkgname") md5sums=('SKIP') diff --git a/fuzzy-pkg-finder.install b/fuzzy-pkg-finder.install new file mode 100644 index 0000000..61a9a3a --- /dev/null +++ b/fuzzy-pkg-finder.install @@ -0,0 +1,4 @@ +## arg 1: the new package version +post_install() { + sudo pacman -Fy && yay -Fy +}