archrelease: copy trunk to community-any
[ArchLinux/community.git] / fzy / repos / community-x86_64 / PKGBUILD
blobfabc67b99ee80d9c8a566e1b56ba6bbd2db5ea81
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: John Hawthorn (john.hawthorn@gmail.com)
3 pkgname=fzy
4 pkgver=1.0
5 pkgrel=2
6 pkgdesc="A better fuzzy finder"
7 url="https://github.com/jhawthorn/fzy"
8 arch=('x86_64')
9 license=('MIT')
10 depends=('glibc')
11 source=(https://github.com/jhawthorn/${pkgname}/archive/${pkgver}.tar.gz)
12 sha512sums=('de5ed1af035260f4ae550c53b08c4ff302c978350784cbfd2981d1691f55d9c0f26b9333c74adea939b3f4578dd47e66ee99112e10afc5497c64011827d19dbc')
14 build() {
15   cd "${srcdir}/${pkgname}-${pkgver}/"
16   make
19 package() {
20   cd "${srcdir}/${pkgname}-${pkgver}/"
21   make PREFIX=/usr DESTDIR="$pkgdir/" install
22   install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE