Cantata Package initial

This commit is contained in:
Peter V. Beck 2018-03-25 23:55:08 +02:00
parent 9127899f67
commit 4eba47ae5e
4 changed files with 52 additions and 0 deletions

BIN
icons/cantata.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

20
packages/cantata/cantata.nuspec Executable file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Cantata</id>
<version>2.2.0</version>
<title>Cantata</title>
<authors>Craig Drummond</authors>
<owners>foo.li systeme + software</owners>
<licenseUrl>https://github.com/CDrummond/cantata/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/CDrummond/cantata</projectUrl>
<iconUrl>https://raw.githubusercontent.com/peterbeck/chocolatey/master/icons/cantata.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>Cantata is a Qt5 Graphical MPD Client for Linux, Windows, macOS, Haiku</description>
<summary>A graphical (Qt5) client for MPD</summary>
<releaseNotes>https://github.com/CDrummond/cantata/releases/tag/v2.2.0</releaseNotes>
<copyright>2017 Kopano</copyright>
<language />
<tags>cantata music audio mp3 floss cross-platform ogg player admin</tags>
</metadata>
</package>

View File

@ -0,0 +1,19 @@
# Cantata
# 2018 foo.li systeme + software
# https://www.gnu.org/licenses/gpl.txt
$packageName = 'cantata'
$packageSearch = 'Cantata'
$installerType = 'exe'
$silentArgs = '/S'
$version = '2.2.0'
$url = 'https://github.com/CDrummond/cantata/releases/download/v' + $version + '/Cantata-' + $version + '-Setup.exe'
$url64 = $url
$checksum = 'C639415127FE649FBB86062EAFCA4889F9EE34E5'
$checksumType = 'sha1'
$checksum64 = $checksum
$checksumType64 = $checksumType
Install-ChocolateyPackage $packageName $installerType $silentArgs $url $url64 `
-checksum $checksum -checksumType $checksumType `
-checksum64 $checksum64 -checksumType64 $checksumType64

View File

@ -0,0 +1,13 @@
# Cantata uninstaller
# chocolatey auto uninstaller does not uninstall...
$packageName = 'cantata'
$silentArgs = '/S'
if (Test-Path "$env:ProgramFiles\Cantata\uninstall.exe") {
& "$env:ProgramFiles\Cantata\uninstall.exe" $silentArgs
} elseif (Test-Path "${env:ProgramFiles(x86)}\Cantata\uninstall.exe") {
& "${env:ProgramFiles(x86)}\Cantata\uninstall.exe" $silentArgs
} else {
Write-Host 'Cantata is already uninstalled.'
}