mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* gparted -> 1.8.1 in updater-gparted-1.8.1 * updater-gparted-1.8.1: Package File Update Run on linux/amd64 container. * updater-gparted-1.8.1: Package File Update Run on linux/arm/v7 container. * updater-gparted-1.8.1: Package File Update Run on linux/amd64 container. * Cleanup gparted. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update dependencies to use :executable instead of :executable_only Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com>
40 lines
1.2 KiB
Ruby
40 lines
1.2 KiB
Ruby
# Adapted from Arch Linux conmon PKGBUILD at:
|
|
# https://github.com/archlinux/svntogit-community/raw/packages/conmon/trunk/PKGBUILD
|
|
|
|
require 'package'
|
|
|
|
class Conmon < Package
|
|
description 'OCI container runtime monitor'
|
|
homepage 'https://github.com/containers/conmon'
|
|
version '2.2.1'
|
|
license 'APACHE'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://github.com/containers/conmon.git'
|
|
git_hashtag "v#{version}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'b0c678144167a2f51bccbf3d7dac0979a107a3e23de9194ac258c420b6c5d367',
|
|
armv7l: 'b0c678144167a2f51bccbf3d7dac0979a107a3e23de9194ac258c420b6c5d367',
|
|
x86_64: '25b2564b8f093ae5a5af02600e112983fe9fd0ac73f09c87da0a9a74d49884b2'
|
|
})
|
|
|
|
depends_on 'glib' => :executable
|
|
depends_on 'glibc' => :executable
|
|
depends_on 'go_md2man' => :build
|
|
depends_on 'libseccomp' => :executable
|
|
depends_on 'runc' # L
|
|
|
|
def self.patch
|
|
system "sed -i 's,../tools/build/go-md2man,#{CREW_PREFIX}/bin/go-md2man,' docs/Makefile"
|
|
end
|
|
|
|
def self.build
|
|
system "make PREFIX=#{CREW_PREFIX} LIBEXECDIR=#{CREW_LIB_PREFIX} DESTDIR=#{CREW_DEST_DIR}"
|
|
end
|
|
|
|
def self.install
|
|
system "make DESTDIR=#{CREW_DEST_DIR} install"
|
|
end
|
|
end
|