evaryont-arson 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/PKGBUILD +22 -0
- data/README.mkd +11 -2
- data/VERSION.yml +2 -2
- data/arson.gemspec +3 -3
- data/bin/arson +4 -3
- data/lib/arson/version.rb +1 -1
- metadata +3 -2
data/PKGBUILD
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Contributor: Colin 'Evaryont' Shea <evaryont@saphrix.com>
|
2
|
+
pkgname=arson
|
3
|
+
pkgver=2.0.1
|
4
|
+
pkgrel=1
|
5
|
+
pkgdesc="The HOT AUR search helper!"
|
6
|
+
arch=(any)
|
7
|
+
url="http://evaryont.github.com/arson/"
|
8
|
+
license=('GPL')
|
9
|
+
depends=(ruby-json ruby-facets)
|
10
|
+
makedepends=(rubygems)
|
11
|
+
filename="evaryont-$pkgname-$pkgver.gem"
|
12
|
+
source=(http://gems.github.com/gems/$filename)
|
13
|
+
noextract=($filename)
|
14
|
+
md5sums=('4ce53c86823a0df27696077780951049')
|
15
|
+
|
16
|
+
build() {
|
17
|
+
cd $srcdir
|
18
|
+
gem install --ignore-dependencies -i "$pkgdir/usr/lib/ruby/gems/1.8" -n "$pkgdir/usr/bin" $filename
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
# vim:set ts=2 sw=2 et:
|
data/README.mkd
CHANGED
@@ -6,11 +6,20 @@ There is 3 primary (and only, ever) functions of arson:
|
|
6
6
|
* Downloading
|
7
7
|
* Updating
|
8
8
|
|
9
|
-
|
9
|
+
## Getting arson
|
10
|
+
|
11
|
+
You can get arson 2 ways:
|
12
|
+
|
13
|
+
* As a Ruby gem
|
14
|
+
gem install evaryont-arson --source http://gems.github.com
|
15
|
+
* Cloning the git repository
|
16
|
+
git clone git://github.com/evaryont/arson.git
|
17
|
+
|
18
|
+
## Using arson
|
10
19
|
|
11
20
|
### Searching
|
12
21
|
|
13
|
-
arson's default fall back action. If arson doesn't understand your parameter,
|
22
|
+
arson's default fall back action. If arson doesn't understand your parameter(s),
|
14
23
|
it will search the AUR with them (after URL escaping them) and display the
|
15
24
|
results to you, in color.
|
16
25
|
|
data/VERSION.yml
CHANGED
data/arson.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{arson}
|
5
|
-
s.version = "2.0.
|
5
|
+
s.version = "2.0.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Colin 'Evaryont' Shea"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-05-02}
|
10
10
|
s.default_executable = %q{arson}
|
11
11
|
s.description = %q{The HOT AUR search helper}
|
12
12
|
s.email = %q{evaryont@saphrix.com}
|
13
13
|
s.executables = ["arson"]
|
14
|
-
s.files = ["README.mkd", "Rakefile", "VERSION.yml", "arson.gemspec", "bin/arson", "lib/arson.rb", "lib/arson/colorful.rb", "lib/arson/download.rb", "lib/arson/search.rb", "lib/arson/upgrade.rb", "lib/arson/version.rb"]
|
14
|
+
s.files = ["PKGBUILD", "README.mkd", "Rakefile", "VERSION.yml", "arson.gemspec", "bin/arson", "lib/arson.rb", "lib/arson/colorful.rb", "lib/arson/download.rb", "lib/arson/search.rb", "lib/arson/upgrade.rb", "lib/arson/version.rb"]
|
15
15
|
s.has_rdoc = true
|
16
16
|
s.homepage = %q{http://evaryont.github.com/arson/}
|
17
17
|
s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
|
data/bin/arson
CHANGED
@@ -19,9 +19,10 @@ if ARGV.to_s == ""
|
|
19
19
|
exit 1
|
20
20
|
end
|
21
21
|
|
22
|
-
|
22
|
+
# Old regexp /^aur(?:-.*)\/(.*)$/
|
23
|
+
if pkg = ARGV.to_s.scan(/aur(-.*?)?\/(.*)/i).flatten[1]
|
23
24
|
if pkg = Arson.find_exact(pkg)
|
24
|
-
puts "Downloading #{pkg}..."
|
25
|
+
puts "Downloading #{pkg['Name']}..."
|
25
26
|
Arson.download(pkg)
|
26
27
|
exit 0
|
27
28
|
else
|
@@ -68,7 +69,7 @@ if packages.length > 1
|
|
68
69
|
else
|
69
70
|
exec "/usr/bin/pacman -Ss #{ARGV.join(' ')}"
|
70
71
|
end
|
71
|
-
|
72
|
+
elsif packages.length == 1
|
72
73
|
puts "Downloading #{packages.first['Name']}..."
|
73
74
|
Arson.download(packages.first)
|
74
75
|
end
|
data/lib/arson/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evaryont-arson
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Colin 'Evaryont' Shea
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-05-02 00:00:00 -07:00
|
13
13
|
default_executable: arson
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -41,6 +41,7 @@ extensions: []
|
|
41
41
|
extra_rdoc_files: []
|
42
42
|
|
43
43
|
files:
|
44
|
+
- PKGBUILD
|
44
45
|
- README.mkd
|
45
46
|
- Rakefile
|
46
47
|
- VERSION.yml
|