Files
chromebrew/packages/pdfgrep.rb
Maximilian Downey Twiss eb14c41653 Remove compatibility from packages with incompatible dependencies (#9458)
* Remove i686 compatibility from packages with dependencies incompatible with i686

* Remove armv7l compatibility from packages with dependencies incompatible with arvm7l

* Abort builds/installs if the package has incompatible dependencies
2024-03-11 13:09:12 -04:00

32 lines
912 B
Ruby

require 'package'
class Pdfgrep < Package
description 'a commandline utility to search text in PDF files'
homepage 'https://pdfgrep.org/'
version '2.0.1-1'
license 'GPL-2'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://pdfgrep.org/download/pdfgrep-2.0.1.tar.gz'
source_sha256 '0370d744b3072d47383dbed2cb9c8b0b64b83c084da5a8961f8d4bc7669e941e'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '0614122a56626fbc83ea82f36cacbb6fca7e5912cc0ff9b5fc343e5c67667da9',
armv7l: '0614122a56626fbc83ea82f36cacbb6fca7e5912cc0ff9b5fc343e5c67667da9',
x86_64: '6bcca42a2012f845c17f3c4111d9ec104a212c809bc98ce75985f21bb03e010c'
})
depends_on 'libgcrypt'
depends_on 'pcre'
depends_on 'poppler'
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end