Skip to content

Commit

Permalink
From chocolatey-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Jul 10, 2024
1 parent bec127d commit 5bec0e6
Show file tree
Hide file tree
Showing 26 changed files with 657 additions and 0 deletions.
12 changes: 12 additions & 0 deletions automatic/gramps/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[![](https://img.shields.io/chocolatey/v/gramps?color=green&label=gramps)](https://chocolatey.org/packages/gramps) [![](https://img.shields.io/chocolatey/dt/gramps)](https://chocolatey.org/packages/gramps)

# Gramps
Gramps is a genealogy program for Linux, Windows, Mac, and FreeBSD that allows you to easily build and keep track of your family tree. It supports the GEDCOM standard, allows fine grained privacy controls and can generate many different types of reports (descendant trees, graphs, connection diagrams).

* [Features](https://gramps-project.org/features/)
* [IRC](irc://irc.freenode.net/#gramps)

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
46 changes: 46 additions & 0 deletions automatic/gramps/gramps.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one.-->
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>gramps</id>
<title>Gramps</title>
<version>5.2.2</version>
<authors>Gramps Developers</authors>
<owners>tunisiano</owners>
<summary>Genealogical research software</summary>
<description><![CDATA[# Gramps
Gramps is a genealogy program for Linux, Windows, Mac, and FreeBSD that allows you to easily build and keep track of your family tree. It supports the GEDCOM standard, allows fine grained privacy controls and can generate many different types of reports (descendant trees, graphs, connection diagrams).
* [Features](https://gramps-project.org/features/)
* [IRC](irc://irc.freenode.net/#gramps)
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<packageSourceUrl>https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/gramps</packageSourceUrl>
<projectUrl>https://gramps-project.org/</projectUrl>
<projectSourceUrl>https://github.com/gramps-project/gramps</projectSourceUrl>
<bugTrackerUrl>https://gramps-project.org/bugs</bugTrackerUrl>
<docsUrl>https://gramps-project.org/wiki/</docsUrl>
<mailingListUrl>https://gramps-project.org/introduction-WP/contact/</mailingListUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@a4858c54c7c77d0b95fbe6d4a55731fd7051ed2a/icons/gramps.svg</iconUrl>
<tags>genealogy family-tree admin</tags>
<copyright>© Gramps Project</copyright>
<licenseUrl>https://github.com/gramps-project/gramps/blob/master/COPYING</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>
#### Program
* [News](https://gramps-project.org/blog/)
* [Roadmap](https://gramps-project.org/wiki/index.php?title=Category:GEPS)
* [Changelog](https://github.com/gramps-project/gramps/releases/v{{PackageVersion}})

#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
19 changes: 19 additions & 0 deletions automatic/gramps/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$ErrorActionPreference = 'Stop'
$packageName = $env:ChocolateyPackageName
$installerType = 'exe'
$silentArgs = '/S'
#$url = 'https://github.com/gramps-project/gramps/releases/download/v5.1.5/GrampsAIO-5.1.5-1_win32.exe'
#$checksum = '6e4de1efa0aaa399c0037528d19eec66470ae7369868b1c4bc68b3c24878d01c'
#$checksumType = 'sha256'
$url64 = 'https://github.com/gramps-project/gramps/releases/download/v5.2.2/GrampsAIO-5.2.2-1_win64.exe'
$checksum64 = 'ee6d197e06dadadf3cf11f425a80b3250b398e731309850f6fd99a1ec1962b46'
$checksumType64 = 'sha256'
$validExitCodes = @(0)

Install-ChocolateyPackage -PackageName "$packageName" `
-FileType "$installerType" `
-SilentArgs "$silentArgs" `
-Url "$url64" `
-ValidExitCodes $validExitCodes `
-Checksum "$checksum64" `
-ChecksumType "$checksumType64"
17 changes: 17 additions & 0 deletions automatic/gramps/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
$ErrorActionPreference = 'Stop'
$packageName = $env:ChocolateyPackageName
$packageSearch = "$packageName*"
$installerType = 'exe'
$silentArgs = '/S'
$validExitCodes = @(0)

Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
-ErrorAction:SilentlyContinue `
| Where-Object {$_.DisplayName -like $packageSearch} `
| ForEach-Object {Uninstall-ChocolateyPackage -PackageName "$packageName" `
-FileType "$installerType" `
-SilentArgs "$($silentArgs)" `
-File "$($_.UninstallString.Replace('"',''))" `
-ValidExitCodes $validExitCodes}
38 changes: 38 additions & 0 deletions automatic/gramps/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
$ErrorActionPreference = 'Stop'
import-module au

$releases = 'https://api.github.com/repos/gramps-project/gramps/releases/latest'
$Owner = $releases.Split('/') | Select-Object -Last 1 -Skip 3
$repo = $releases.Split('/') | Select-Object -Last 1 -Skip 2


function global:au_SearchReplace {
@{
'tools/chocolateyInstall.ps1' = @{
"(^[$]url64\s*=\s*)('.*')" = "`$1'$($Latest.URL64)'"
"(^[$]checksum64\s*=\s*)('.*')" = "`$1'$($Latest.Checksum64)'"
"(^[$]checksumType64\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType64)'"
}
}
}

function global:au_AfterUpdate($Package) {
Invoke-VirusTotalScan $Package
}

function global:au_GetLatest {
$tags = Get-GitHubRelease -OwnerName $Owner -RepositoryName $repo -Latest
$urls = $tags.assets.browser_download_url | Where-Object {$_ -match ".exe$"}
$url64 = $urls | Where-Object {$_ -match 'win64'}
$version = $tags.tag_name.replace('v','')
Update-Metadata -key "releaseNotes" -value $tags.html_url
if($tags.prerelease -match "true") {
$date = $tags.published_at.ToString("yyyyMMdd")
$version = "$version-pre$($date)"
}

$Latest = @{ URL64 = $url64; Version = $version }
return $Latest
}

update
18 changes: 18 additions & 0 deletions automatic/gridcoinwallet/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[![](https://img.shields.io/chocolatey/v/gridcoinwallet?color=green&label=gridcoinwallet)](https://chocolatey.org/packages/gridcoinwallet) [![](https://img.shields.io/chocolatey/dt/gridcoinwallet)](https://chocolatey.org/packages/gridcoinwallet)

## gridcoinwallet
Gridcoin is a decentralized, open-source, math-based digital asset (cryptocurrency). Gridcoin,
while energy-efficient, is the first and only cryptocurrency that rewards individuals for scientific
contributions and performs transactions peer-to-peer cryptographically - without the need for a
central authority to distribute rewards. It is the first block chain protocol that delivered a
working algorithm that rewards and cryptographically proves solving BOINC (Berkeley Open
Infrastructure for Network Computing) hosted work, which could be virtually any kind of
computing process. Gridcoin provides benefits to humanity through contributions to
computational research. There are no limitations to a single BOINC project, providing the
flexibility to be rewarded for virtually any type of computational process.
The wallet and it's config file is stored in `%APPDATA%\GridcoinResearch`.

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
45 changes: 45 additions & 0 deletions automatic/gridcoinwallet/gridcoinwallet.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one.-->
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>gridcoinwallet</id>
<version>5.4.8.0</version>
<title>Gridcoin Wallet</title>
<authors>Gridcoin Developers</authors>
<owners>tunisiano</owners>
<licenseUrl>https://github.com/gridcoin-community/Gridcoin-Research/blob/master/COPYING</licenseUrl>
<projectUrl>https://gridcoin.us</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@3adcec67b09000eee0c4d40f7b07b5ea84ae9afb/icons/gridcoinwallet.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description><![CDATA[## gridcoinwallet
Gridcoin is a decentralized, open-source, math-based digital asset (cryptocurrency). Gridcoin,
while energy-efficient, is the first and only cryptocurrency that rewards individuals for scientific
contributions and performs transactions peer-to-peer cryptographically - without the need for a
central authority to distribute rewards. It is the first block chain protocol that delivered a
working algorithm that rewards and cryptographically proves solving BOINC (Berkeley Open
Infrastructure for Network Computing) hosted work, which could be virtually any kind of
computing process. Gridcoin provides benefits to humanity through contributions to
computational research. There are no limitations to a single BOINC project, providing the
flexibility to be rewarded for virtually any type of computational process.
The wallet and it's config file is stored in `%APPDATA%\GridcoinResearch`.
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<summary>Gridcoin is an open source cryptocurrency which securely rewards volunteer computing performed on the BOINC platform.</summary>
<releaseNotes>#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)</releaseNotes>
<copyright>2014-2019 Gridcoin Developers</copyright>
<tags>gridcoin wallet grc crypto cryptocurrency</tags>
<projectSourceUrl>https://github.com/gridcoin-community/Gridcoin-Research</projectSourceUrl>
<packageSourceUrl>https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/gridcoinwallet</packageSourceUrl>
<docsUrl>https://github.com/gridcoin-community/Gridcoin-Wiki/wiki</docsUrl>
<bugTrackerUrl>https://github.com/gridcoin-community/Gridcoin-Research/issues</bugTrackerUrl>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
23 changes: 23 additions & 0 deletions automatic/gridcoinwallet/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
$ErrorActionPreference = 'Stop'
$url32 = 'https://github.com/gridcoin-community/Gridcoin-Research/releases/download/5.4.8.0/gridcoin-5.4.8-win32-setup.exe'
$checksum32 = '01d9aac21a4a34eb9c2ce9f43f659e03ebf1caf65896b6fb94a46acb583ce8e3'
$checksumType32 = 'sha256'
$url64 = 'https://github.com/gridcoin-community/Gridcoin-Research/releases/download/5.4.8.0/gridcoin-5.4.8-win64-setup.exe'
$checksum64 = '9f8a90f2508ff2ce85f2b21cc46ef0609bbe96c85c3fb1ae2895de9e59094cf4'
$checksumType64 = 'sha256'

$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = $url32
url64bit = $url64
softwareName = 'Gridcoin Wallet'
checksum = $checksum32
checksum64 = $checksum64
checksumType = $checksumType32
checksum64Type = $checksumType64
silentArgs = "/S"
validExitCodes = @(0, 3010, 1641)
}

Install-ChocolateyPackage @packageArgs
41 changes: 41 additions & 0 deletions automatic/gridcoinwallet/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
$ErrorActionPreference = 'Stop'
import-module au

$releases = 'https://github.com/gridcoin-community/Gridcoin-Research/releases/'
$Owner = $releases.Split('/') | Select-Object -Last 1 -Skip 3
$repo = $releases.Split('/') | Select-Object -Last 1 -Skip 2

function global:au_SearchReplace {
@{
'tools/chocolateyInstall.ps1' = @{
"(^[$]url32\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'"
"(^[$]checksum32\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
"(^[$]checksumType32\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'"
"(^[$]url64\s*=\s*)('.*')" = "`$1'$($Latest.URL64)'"
"(^[$]checksum64\s*=\s*)('.*')" = "`$1'$($Latest.Checksum64)'"
"(^[$]checksumType64\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType64)'"
}
}
}

function global:au_AfterUpdate($Package) {
Invoke-VirusTotalScan $Package
}

function global:au_GetLatest {
$tags = Get-GitHubRelease -OwnerName $Owner -RepositoryName $repo -Latest
$urls = $tags.assets.browser_download_url | Where-Object {$_ -match "gridcoin-"} | Where-Object {$_ -match "-setup.exe"} | Where-Object {$_ -notmatch 'hotfix'} | Where-Object {$_ -notmatch 'sha256'}
$url32 = $urls | Where-Object {$_ -match 'win32'}
$url64 = $urls | Where-Object {$_ -match 'win64'}
Update-Metadata -key "releaseNotes" -value $tags.html_url
$version = $url32 -split 'v|/' | select-object -Last 1 -Skip 1
if($tags.prerelease -match "true") {
$date = $tags.published_at.ToString("yyyyMMdd")
$version = "$version-pre$($date)"
}

$Latest = @{ URL32 = $url32; URL64 = $url64; Version = $version }
return $Latest
}

update
10 changes: 10 additions & 0 deletions automatic/gsmartcontrol/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[![](https://img.shields.io/chocolatey/v/gsmartcontrol?color=green&label=gsmartcontrol)](https://chocolatey.org/packages/gsmartcontrol) [![](https://img.shields.io/chocolatey/dt/gsmartcontrol)](https://chocolatey.org/packages/gsmartcontrol)

## gsmartcontrol
GSmartControl is a graphical user interface for smartctl (from smartmontools package), which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data on modern hard disk and solid-state drives. It allows you to inspect the drive's SMART data to determine its health, as well as run various tests on it.


### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
38 changes: 38 additions & 0 deletions automatic/gsmartcontrol/gsmartcontrol.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>gsmartcontrol</id>
<version>1.1.4</version>
<title>GSmartControl</title>
<authors>Alexander Shaduri</authors>
<owners>tunisiano</owners>
<licenseUrl>https://github.com/ashaduri/gsmartcontrol/blob/main/LICENSE.txt</licenseUrl>
<projectUrl>https://gsmartcontrol.shaduri.dev</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@a67ed113e0068208ab18ae69b708b78c0b380f75/icons/gsmartcontrol.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description><![CDATA[## gsmartcontrol
GSmartControl is a graphical user interface for smartctl (from smartmontools package), which is a tool for querying and controlling SMART (Self-Monitoring, Analysis, and Reporting Technology) data on modern hard disk and solid-state drives. It allows you to inspect the drive's SMART data to determine its health, as well as run various tests on it.
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<summary>Hard disk drive and SSD health inspection tool</summary>
<releaseNotes>#### Program
* https://github.com/ashaduri/gsmartcontrol/releases

#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)</releaseNotes>
<copyright>© Alexander Shaduri</copyright>
<tags>smart hdd hardware disk reporting monitoring gui admin</tags>
<projectSourceUrl>https://sourceforge.net/p/gsmartcontrol/code/HEAD/tree/trunk/gsmartcontrol/</projectSourceUrl>
<packageSourceUrl>https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/gsmartcontrol</packageSourceUrl>
<docsUrl>https://gsmartcontrol.shaduri.dev/usage</docsUrl>
<bugTrackerUrl>https://github.com/ashaduri/gsmartcontrol/issues</bugTrackerUrl>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
21 changes: 21 additions & 0 deletions automatic/gsmartcontrol/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
$packageName = $env:chocolateyPackageName
$installerType = 'exe'
$silentArgs = '/S'
$url32 = 'https://github.com/ashaduri/gsmartcontrol/releases/download/v1.1.4/gsmartcontrol-1.1.4-win32.exe'
$checksum32 = 'c10e15a727d962cd051318fcd9d5d0861d3cd1cf2f53e0c50cf7b164c2d89d5d'
$checksumType32 = 'sha256'
$url64 = 'https://github.com/ashaduri/gsmartcontrol/releases/download/v1.1.4/gsmartcontrol-1.1.4-win64.exe'
$checksum64 = '1a06be839ca2d48ee0a86ab2c3ed7d68f8e1b5719a31a5595f84db691e192cc1'
$checksumType64 = 'sha256'
$validExitCodes = @(0)

Install-ChocolateyPackage -PackageName "$packageName" `
-FileType "$installerType" `
-SilentArgs "$silentArgs" `
-Url "$url32" `
-Url64bit "$url64" `
-ValidExitCodes $validExitCodes `
-Checksum "$checksum32" `
-ChecksumType "$checksumType32" `
-Checksum64 "$checksum64" `
-ChecksumType64 "$checksumType64"
Loading

0 comments on commit 5bec0e6

Please sign in to comment.