You've already forked homebrew-brew
mirror of
https://github.com/jakejarvis/homebrew-brew.git
synced 2026-06-15 06:15:26 -04:00
add gpg-suite-no-drm
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
# Tap repo
|
||||||
|
tap "jakejarvis/brew"
|
||||||
|
|
||||||
|
# Casks
|
||||||
|
cask "gpg-suite-no-drm"
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
cask 'gpg-suite-no-drm' do
|
||||||
|
version '2019.1_83'
|
||||||
|
sha256 '446f80f96ad57a93a657a66f4dc5ce3833aed94c7bd3d5dc839ac5fada0b5a6d'
|
||||||
|
|
||||||
|
url "https://github.com/GpgMailNoActivation/GpgMailNoActivation/releases/download/Ver_#{version}/RemoveGPGMailDRM_#{version}.dmg"
|
||||||
|
appcast 'https://github.com/GpgMailNoActivation/GpgMailNoActivation/releases.atom'
|
||||||
|
name 'GPG Suite No DRM'
|
||||||
|
homepage 'https://github.com/GpgMailNoActivation/GpgMailNoActivation'
|
||||||
|
|
||||||
|
depends_on macos: '>= sierra'
|
||||||
|
depends_on cask: 'gpg-suite'
|
||||||
|
conflicts_with cask: 'gpg-suite-no-mail'
|
||||||
|
|
||||||
|
# move bundles out of DMG and into Application Support
|
||||||
|
artifact 'GPGMail_13.mailbundle', target: '/Library/Application Support/GPGTools/GPGMail/GPGMail_13.mailbundle'
|
||||||
|
artifact 'GPGMail_14.mailbundle', target: '/Library/Application Support/GPGTools/GPGMail/GPGMail_14.mailbundle'
|
||||||
|
|
||||||
|
# save DRM'ed bundle in case of uninstall
|
||||||
|
preflight do
|
||||||
|
system_command '/bin/mv',
|
||||||
|
args: [
|
||||||
|
'/Library/Application Support/GPGTools/GPGMail/GPGMail_14.mailbundle',
|
||||||
|
'/Library/Application Support/GPGTools/GPGMail/GPGMail_14.mailbundle.drm'
|
||||||
|
],
|
||||||
|
sudo: true
|
||||||
|
end
|
||||||
|
|
||||||
|
# on uninstall, restore DRM'ed GPGMail_14.mailbundle and delete GPGMail_13.mailbundle
|
||||||
|
uninstall_postflight do
|
||||||
|
system_command '/bin/mv',
|
||||||
|
args: [
|
||||||
|
'/Library/Application Support/GPGTools/GPGMail/GPGMail_14.mailbundle.drm',
|
||||||
|
'/Library/Application Support/GPGTools/GPGMail/GPGMail_14.mailbundle'
|
||||||
|
],
|
||||||
|
sudo: true
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -1,2 +1,23 @@
|
|||||||
# homebrew-brew
|
# Homebrew Formulae
|
||||||
Personal formulae and casks
|
|
||||||
|
🚨 Personal formulae and casks, use at your own risk!
|
||||||
|
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
```bash
|
||||||
|
brew tap jakejarvis/brew
|
||||||
|
```
|
||||||
|
|
||||||
|
### Casks
|
||||||
|
|
||||||
|
[GPG Suite (No DRM on GPGMail)](Casks/gpg-suite-no-drm.rb)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
brew cask install gpg-suite-no-drm
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This project is distributed under the [MIT license](LICENSE.md).
|
||||||
|
|||||||
Reference in New Issue
Block a user