fuzzy-pkg-finder/PKGBUILD

33 lines
854 B
Bash
Raw Normal View History

2020-06-11 15:57:03 -05:00
# Maintainer: Eric Lay <ericlaytm@gmail.com>
pkgname=fuzzy-pkg-finder
2020-06-13 15:27:08 -05:00
pkgver=0.2
2020-06-11 15:57:03 -05:00
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')
2020-06-13 17:29:20 -05:00
source=("git+https://gitlab.com/airclay/fuzzy-pkg-finder.git#tag=v$pkgver")
2020-06-11 15:57:03 -05:00
md5sums=('SKIP')
package() {
cd "$srcdir"
install -dm755 $pkgdir/usr/bin
2020-06-13 17:43:43 -05:00
cp -r $srcdir/$pkgname/fpf $pkgdir/usr/bin/
2020-06-11 15:57:03 -05:00
chmod a+x $pkgdir/usr/bin/*
2020-06-12 15:46:47 -05:00
install -dm755 "$pkgdir"/usr/lib/systemd/system/
install -m644 $srcdir/$pkgname/fpf.{service,timer} "$pkgdir"/usr/lib/systemd/system/
echo
echo
echo -------------------------------------
echo 'Please start/enable fpf service'
echo 'See git installation instructions'
echo -------------------------------------
echo
echo
2020-06-11 15:57:03 -05:00
}