Commit f721d5b1 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #1481 from zacharysang/add-template-package

Add template package
parents e40e6997 8c0a1ba3
# It is recommended that you investigate other files in the package directory
# to help get an idea of how existing packages are being installed through chromebrew
require 'package'
class Template < Package
description ''
homepage ''
version ''
source_url '*.tar.gz'
source_sha256 ''
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/*-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/*-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/*-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/*-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '',
armv7l: '',
i686: '',
x86_64: '',
})
# Register dependencies (use the following line as a basis)
#
# depends_on '*'
#
# Function to perform pre-install operations prior to build from source.
def self.preinstall
end
# Function to perform patch operations prior to build from source.
def self.patch
end
# Function to perform build from source.
def self.build
end
# Function to perform install from source build.
def self.install
end
# Function to perform post-install for both source build and binary distribution
def self.postinstall
end
# Function to perform check from source build.
# This is execute if and only if `crew build`.
def self.check
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment