Skip to content

@poxar /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
# Maintainer: Limao Luo <luolimao+AUR@gmail.com>
_pkgname=the_silver_searcher
pkgname=silver-searcher-git
pkgver=6159572
pkgrel=1
epoch=1
pkgdesc="The Silver Searcher: An attempt to make something better than ack, which itself is better than grep."
arch=(i686 x86_64)
url=https://github.com/ggreer/$_pkgname
license=(Apache)
makedepends=(git)
provides=($_pkgname=0.13.1)
conflicts=($_pkgname)
source=("git://github.com/ggreer/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --always | sed 's|-|.|g'
}
build() {
cd "$srcdir/$_pkgname"
./build.sh
}
package() {
cd "$srcdir/$_pkgname"
install -Dm755 ag "$pkgdir/usr/bin/ag"
install -Dm644 doc/ag.1 "$pkgdir/usr/share/man/man1/ag.1"
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.