mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* shrinkpdf: update homepage and fetch urls, fix fetch, update to 1.1 * shrinkpdf: fix fetching and installation Change proposed by: @uberhacker
20 lines
521 B
Ruby
20 lines
521 B
Ruby
require 'package'
|
|
|
|
class Shrinkpdf < Package
|
|
description 'A simple wrapper around Ghostscript to shrink PDFs (as in reduce filesize) under Linux.'
|
|
homepage 'https://github.com/aklomp/shrinkpdf'
|
|
version '1.1'
|
|
license 'BSD-3'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url 'https://github.com/aklomp/shrinkpdf.git'
|
|
git_hashtag "v#{version}"
|
|
|
|
depends_on 'ghostscript'
|
|
|
|
no_compile_needed
|
|
|
|
def self.install
|
|
FileUtils.install 'shrinkpdf.sh', "#{CREW_DEST_PREFIX}/bin/shrinkpdf", mode: 0o755
|
|
end
|
|
end
|