mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS * Rename build_extras and install_extras to configure_build_extras and configure_install_extras
31 lines
895 B
Ruby
31 lines
895 B
Ruby
require 'package'
|
|
|
|
class Mypaint_brushes < Package
|
|
description 'Brushes used by MyPaint and other software using libmypaint.'
|
|
homepage 'https://mypaint.app/'
|
|
version '2.0.2'
|
|
license 'CC0-1.0'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url 'https://github.com/mypaint/mypaint-brushes.git'
|
|
git_hashtag "v#{version}"
|
|
binary_compression 'tpxz'
|
|
|
|
binary_sha256({
|
|
aarch64: 'dd1cc71b20fd4b128b5e4c5d0122b3cad0b5aefdb14fe79d57fda90d14c91265',
|
|
armv7l: 'dd1cc71b20fd4b128b5e4c5d0122b3cad0b5aefdb14fe79d57fda90d14c91265',
|
|
x86_64: 'eff47096581ed7982f4d3d4def1b79d3a7b6652772f039b45b26a5421adf2f62'
|
|
})
|
|
|
|
depends_on 'libmypaint'
|
|
|
|
def self.build
|
|
system 'env NOCONFIGURE=1 ./autogen.sh'
|
|
system "#{CREW_ENV_OPTIONS} ./configure #{CREW_CONFIGURE_OPTIONS}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|