mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
* Add unbuilt entr to updater-entr-5.7 * updater-entr-5.7: Build Run on linux/amd64. * updater-entr-5.7: Build Run on linux/arm/v7. * updater-entr-5.7: Build Run on linux/386. * updater-entr-5.7: Package File Update Run on linux/386 container. --------- Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
31 lines
926 B
Ruby
31 lines
926 B
Ruby
require 'package'
|
|
|
|
class Entr < Package
|
|
description 'Run arbitrary commands when files change'
|
|
homepage 'https://eradman.com/entrproject/'
|
|
version '5.7'
|
|
license 'ISC'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/eradman/entr.git'
|
|
git_hashtag version
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'fc219af7c71433e90fbd4d94386205188fff62731e7ad3e4ef13195533aa5da7',
|
|
armv7l: 'fc219af7c71433e90fbd4d94386205188fff62731e7ad3e4ef13195533aa5da7',
|
|
i686: '1bcccb6bb885cfef5742ef86e7899fb45e01aadab843295fa0df65f352499359',
|
|
x86_64: '687b29d4ac0f1975eb0fc0401e6732d8007f6f81794eb90e515da13cd68a7af7'
|
|
})
|
|
|
|
depends_on 'glibc' # R
|
|
|
|
def self.build
|
|
system './configure' # Not an autotools script, despite appearances.
|
|
system 'make', "PREFIX=#{CREW_PREFIX}"
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "PREFIX=#{CREW_PREFIX}", "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|