Licensed file ga* to gz* and other minor changes

This commit is contained in:
saltedcoffii
2021-03-19 21:04:37 -04:00
parent c9bf7911c2
commit e905c20ad5
155 changed files with 179 additions and 122 deletions

View File

@@ -3,12 +3,13 @@ require 'package'
class Gnome_nibbles < Package
description 'snake game, up to four players'
homepage 'https://wiki.gnome.org/Apps/Nibbles'
compatibility 'all'
@_app = File.basename(__FILE__, '.rb').tr('_', '-')
@_fullver = '3.38.2'
@_mainver = @_fullver.rpartition('.')[0]
@_url = "https://download.gnome.org/sources/#{@_app}/#{@_mainver}/#{@_app}-#{@_fullver}"
version @_fullver
license 'GPL-3+ and CC-BY-SA-3.0'
compatibility 'all'
source_url "#{@_url}.tar.xz"
source_sha256 `curl -Ls #{@_url}.sha256sum | tail -n1 | cut -d ' ' -f1`.chomp