Commit eaefc562 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1769 from lovedheart/patch-38

[intltool] Fix depedency
parents 2c146a0a 2e3f8d3e
...@@ -3,14 +3,15 @@ require 'package' ...@@ -3,14 +3,15 @@ require 'package'
class Intltool < Package class Intltool < Package
description 'intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files.' description 'intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files.'
homepage 'https://freedesktop.org/wiki/Software/intltool/' homepage 'https://freedesktop.org/wiki/Software/intltool/'
version '0.51.0' version '0.51.0-1'
source_url 'https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz' source_url 'https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz'
source_sha256 '67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd' source_sha256 '67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd'
depends_on 'libtool' depends_on 'libtool'
depends_on 'perl_xml_parser' depends_on 'perl_xml_parser'
depends_on 'patch' => 'build' depends_on 'patch' => :build
depends_on 'wget' => :build
def self.patch def self.patch
system "wget https://raw.githubusercontent.com/Alexpux/MSYS2-packages/master/intltool/perl-5.22-compatibility.patch" system "wget https://raw.githubusercontent.com/Alexpux/MSYS2-packages/master/intltool/perl-5.22-compatibility.patch"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('perl-5.22-compatibility.patch') ) == '9c6527072aada6e3cb9aceb6e07cfdf51d58839a2beb650168da0601a85ebda3' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('perl-5.22-compatibility.patch') ) == '9c6527072aada6e3cb9aceb6e07cfdf51d58839a2beb650168da0601a85ebda3'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment