Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #112 from alphagov/gof3r-recipe
Browse files Browse the repository at this point in the history
Gof3r recipe
  • Loading branch information
mattbostock committed Apr 5, 2016
2 parents e8235a3 + 3e02a8b commit 0d1101a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions fpm/recipes/gof3r/recipe.rb
@@ -0,0 +1,19 @@
class Gof3r < FPM::Cookery::Recipe
name 'gof3r'
homepage 'https://github.com/rlmcpherson/s3gof3r'

version '0.5.0'

source "https://github.com/rlmcpherson/s3gof3r/releases/download/v#{version}/gof3r_#{version}_linux_amd64.tar.gz"
sha256 'd88f199d1580d8c8cac26ba39e15dc6e2126d20e56c3894bd37a226e8b3e665c'

maintainer 'GOV.UK <govuk-dev@digital.cabinet-office.gov.uk>'

def build
end

def install
safesystem "mkdir -p #{destdir}/usr/local/bin/"
safesystem "cp -f #{builddir}/#{name}_#{version}_linux_amd64/* #{destdir}/usr/local/bin/"
end
end

0 comments on commit 0d1101a

Please sign in to comment.