This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| class Package | |
| Makepkg = '/usr/bin/makepkg' | |
| Pacman = '/usr/bin/pacman' | |
| LogBuild = 'manager-build.log' | |
| LogInstall = 'manager-install.log' | |
| def initialize(file='PKGBUILD') | |
| raise ArgumentErorr, "Package: argument must respond to to_s" unless file.respond_to? :to_s | |
| @file = file.to_s | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| class Package | |
| @file = String.new | |
| Makepkg = '/usr/bin/makepkg' | |
| Pacman = '/usr/bin/pacman' | |
| LogBuild = 'manager-build.log' | |
| LogInstall = 'manager-install.log' | |
| def initialize(file='PKGBUILD') | |
| raise ArgumentErorr, "Package: argument must respond to to_s" unless file.respond_to? :to_s | |
| @file = file.to_s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| # | |
| # makepkg - make packages compatible for use with pacman | |
| # Generated from makepkg.sh.in; do not edit by hand. | |
| # | |
| # Copyright (c) 2006-2013 Pacman Development Team <[email protected]> | |
| # Copyright (c) 2002-2006 by Judd Vinet <[email protected]> | |
| # Copyright (c) 2005 by Aurelien Foret <[email protected]> | |
| # Copyright (c) 2006 by Miklos Vajna <[email protected]> | |
| # Copyright (c) 2005 by Christian Hamar <[email protected]> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| class Package | |
| @file = String.new | |
| Makepkg = '/usr/bin/makepkg' | |
| Pacman = '/usr/bin/pacman' | |
| LogBuild = 'manager-build.log' | |
| LogInstall = 'manager-install.log' | |
| def initialize(file='PKGBUILD') | |
| raise ArgumentErorr, "Package: argument must respond to to_s" unless file.respond_to? :to_s | |
| @file = file.to_s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Alex Talker <alextalker at opemailbox dot org> | |
| # Contributor: Luis von Bernus <[email protected]> | |
| # Contributors: L42y, aeosynth, Dan Serban, Kalipath | |
| _name=firefox | |
| _channel=aurora | |
| _milestone=30.0a2 | |
| _lang=ru | |
| pkgname="${_name}-${_channel}-${_lang}" | |
| _pkgname="${_name}-${_channel}" | |
| pkgver=30.0a2.20140330004001 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| class Package | |
| @file = String.new | |
| Makepkg = '/usr/bin/makepkg' | |
| Pacman = '/usr/bin/pacman' | |
| LogBuild = 'manager-build.log' | |
| LogInstall = 'manager-install.log' | |
| def initialize(file='PKGBUILD') | |
| raise ArgumentErorr, "Package: argument must respond to to_s" unless file.respond_to? :to_s | |
| @file = file.to_s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Agustin Ferrario "py_crash < agustin dot ferrario at hotmail dot com dot ar > | |
| # Contributor: Luis von Bernus <[email protected]> | |
| # Contributors: L42y, aeosynth, Dan Serban, Kalipath | |
| _name=firefox | |
| _channel=aurora | |
| _milestone=30.0a2 | |
| pkgname="${_name}-${_channel}" | |
| pkgver=30.0a2.20140301004003 | |
| pkgrel=1 | |
| pkgdesc="Firefox Aurora channel - Nightly build" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| def cd(i) | |
| begin | |
| Dir.chdir(i) | |
| rescue | |
| puts "An error happened in cd().Path don't found: #{i}" | |
| false | |
| end | |
| end | |
| ARGV.each { |package| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| def cd(i) | |
| begin | |
| Dir.chdir(i) if Dir.exist? i | |
| rescue | |
| puts "An error happened in cd().Path don't found: #{i}" | |
| end | |
| end | |
| ARGV.map{ |package| | |
| cd(package) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| require 'vcardigan' | |
| vcards = ARGV.map {|file| | |
| File.foreach(file, "END:VCARD").map {|vcard_data| VCardigan.parse vcard_data } | |
| }.flatten | |
| numbers = vcards.map(&:tel) | |
| .compact | |
| .map {|tel| tel.first.value.gsub(/\D/, '') } | |
| .select {|number| number.match /^(7|380)\d{10,}/ } |