~njmcphail/+junk/ag-mcphail

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ag-mcphail
version: "1.0.1"
summary: The Silver Searcher
description: Like grep, but faster
confinement: strict

apps:
  ag:
    command: bin/ag
    plugs:
      - home

  upstream:
    command: usr/local/bin/ag
    plugs:
      - home
parts:
  silversearcher-mcphail:
    plugin: autotools
    source: https://github.com/mcphail/the_silver_searcher.git
    build-packages:
      - libpcre3-dev
      - zlib1g-dev
      - liblzma-dev
      - bash-completion
      - pkg-config
    stage-packages:
      - git-core

  silversearcher-upstream:
    plugin: autotools
    configflags: ["--prefix=/usr/local"]
    source: https://github.com/ggreer/the_silver_searcher.git
    build-packages:
      - libpcre3-dev
      - zlib1g-dev
      - liblzma-dev
      - bash-completion
      - pkg-config
    stage-packages:
      - git-core