Merge pull request #1054 from ErichDonGubler/add-fzy

Add fzy-0.9
This commit is contained in:
Алексей
2017-11-09 07:43:14 +03:00
committed by GitHub

22
fzy/PKGBUILD Normal file
View File

@@ -0,0 +1,22 @@
# Maintainer: Erich Gubler <erichdongubler@gmail.com>
pkgname=fzy
pkgver=0.9
pkgrel=1
pkgdesc="A better fuzzy finder"
url="https://github.com/jhawthorn/fzy"
arch=('i686' 'x86_64')
license=('MIT')
source=(https://github.com/jhawthorn/${pkgname}/archive/${pkgver}.tar.gz)
sha512sums=('71a44bc3bbef3a2d82476a69b5c9e28753e760bbb8d453a9e44b57f34a79dd8ebcd510a869dfeae95f522ba6ccb4b8f10f79c081ce6bc6cfae9a41f4071fefc0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}/"
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/"
make PREFIX=/usr DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}