From 1ee006f8cdd37c73c88697ac65ed88fa374d2603 Mon Sep 17 00:00:00 2001 From: goreleaserbot Date: Sat, 27 Aug 2022 13:38:27 -0600 Subject: [PATCH] Update to v3.1.163 --- .SRCINFO | 16 ++++++++++++++++ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000000000..ae6f206452d2a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ipsw-bin + pkgdesc = iOS/macOS Research Swiss Army Knife + pkgver = 3.1.163 + pkgrel = 1 + url = https://github.com/blacktop/ipsw + license = MIT + conflicts = ipsw + provides = ipsw + arch = aarch64 + source_aarch64 = https://github.com/blacktop/ipsw/releases/download/v3.1.163/ipsw_3.1.163_linux_arm64.tar.gz + sha256sums_aarch64 = 290bfd53d97850e8b2bb6898f5f630ce3adda83c1f94eb3c413ad700d8d727c1 + arch = x86_64 + source_x86_64 = https://github.com/blacktop/ipsw/releases/download/v3.1.163/ipsw_3.1.163_linux_x86_64.tar.gz + sha256sums_x86_64 = af40c27c17ed305f8e1c5e8d6a01e5ead80e9ff4e6038f827850de9ff765a8d4 + +pkgname = ipsw-bin diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000000000..e91a1b4d01a18 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# This file was generated by GoReleaser. DO NOT EDIT. +# Maintainer: Blacktop + +pkgname='ipsw-bin' +pkgver=3.1.163 +pkgrel=1 +pkgdesc='iOS/macOS Research Swiss Army Knife' +url='https://github.com/blacktop/ipsw' +arch=('aarch64' 'x86_64') +license=('MIT') +provides=('ipsw') +conflicts=('ipsw') + +source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.163/ipsw_3.1.163_linux_arm64.tar.gz") +sha256sums_aarch64=('290bfd53d97850e8b2bb6898f5f630ce3adda83c1f94eb3c413ad700d8d727c1') + +source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/blacktop/ipsw/releases/download/v3.1.163/ipsw_3.1.163_linux_x86_64.tar.gz") +sha256sums_x86_64=('af40c27c17ed305f8e1c5e8d6a01e5ead80e9ff4e6038f827850de9ff765a8d4') + +package() { + # bin + install -Dm755 "./ipsw" "${pkgdir}/usr/bin/ipsw" + + # license + install -Dm644 "./LICENSE.md" "${pkgdir}/usr/share/licenses/ipsw/LICENSE" + + # completions + mkdir -p "${pkgdir}/usr/share/bash-completion/completions/" + mkdir -p "${pkgdir}/usr/share/zsh/site-functions/" + mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d/" + install -Dm644 "./completions/ipsw" "${pkgdir}/usr/share/bash-completion/completions/ipsw" + install -Dm644 "./completions/_ipsw" "${pkgdir}/usr/share/zsh/site-functions/_ipsw" + install -Dm644 "./completions/ipsw.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/ipsw.fish" + + # man pages + install -Dm644 "./manpages/ipsw.1.gz" "${pkgdir}/usr/share/man/man1/ipsw.1.gz" +}