Package Details: ruby-progressbar 1.10.1-1

Git Clone URL: https://aur.archlinux.org/ruby-progressbar.git (read-only, click to copy)
Package Base: ruby-progressbar
Description: A text progress bar library for Ruby
Upstream URL: https://github.com/jfelchner/ruby-progressbar
Licenses: MIT
Conflicts: ruby-ruby-progressbar
Provides: ruby-ruby-progressbar
Submitter: anshumanb
Maintainer: mnussbaum
Last Packager: mnussbaum
Votes: 3
Popularity: 0.000000
First Submitted: 2013-04-26 14:46
Last Updated: 2020-02-17 18:49

Dependencies (2)

Required by (5)

Sources (1)

Latest Comments

mnussbaum commented on 2020-02-17 18:50

@Felixoid thanks, I've updated the package with your suggestions!

Felixoid commented on 2020-02-17 16:04

Hey mnussbaum. Here's patch to fix current build:

diff --git a/.SRCINFO b/.SRCINFO
index 04d1686..aeaca19 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,14 @@
 pkgbase = ruby-progressbar
        pkgdesc = A text progress bar library for Ruby
        pkgver = 1.10.1
-       pkgrel = 0
+       pkgrel = 1
        url = https://github.com/jfelchner/ruby-progressbar
        arch = any
        license = MIT
        makedepends = rubygems
        depends = ruby
+       provides = ruby-ruby-progressbar
+       conflicts = ruby-ruby-progressbar
        noextract = ruby-progressbar-1.10.1.gem
        source = http://rubygems.org/downloads/ruby-progressbar-1.10.1.gem
        sha256sums = ee23400615f91c2ce6bc1e3bfa98392302ef38cbba8ad6de1bc26a4e1a88e7cc
diff --git a/PKGBUILD b/PKGBUILD
index b08923c..c489605 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,15 @@

 pkgname=ruby-progressbar
 pkgver=1.10.1
-pkgrel=0
+pkgrel=1
 pkgdesc="A text progress bar library for Ruby"
 arch=(any)
 url="https://github.com/jfelchner/ruby-progressbar"
 license=("MIT")
 depends=("ruby")
 makedepends=(rubygems)
+provides=('ruby-ruby-progressbar')
+conflicts=('ruby-ruby-progressbar')
 source=(http://rubygems.org/downloads/$pkgname-$pkgver.gem)
 sha256sums=("ee23400615f91c2ce6bc1e3bfa98392302ef38cbba8ad6de1bc26a4e1a88e7cc")
 noextract=($pkgname-$pkgver.gem)
@@ -22,7 +24,7 @@ package() {
     --no-user-install \
     -i "$pkgdir/$_gemdir" \
     -n "$pkgdir/usr/bin" \
-    $_gemname-$pkgver.gem
+    $pkgname-$pkgver.gem

-  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+  rm "$pkgdir/$_gemdir/cache/$pkgname-$pkgver.gem"
 }

atweiden commented on 2014-09-18 21:42

Done. Sorry about that.

bricewge commented on 2014-09-17 16:45

The right PKGBUILD can be found [here](http://hastebin.com/ifuvariqax.bash).

bricewge commented on 2014-09-17 08:41

The name of this package is missleading, his name should be ruby-ruby-progressbar (https://wiki.archlinux.org/index.php/Ruby_Gem_Package_Guidelines#Package_naming) because there is another gem called progressbar (https://rubygems.org/gems/progressbar) who should be name ruby-progressbar.
So @atweiden can you take over the AUR package ruby-ruby-progressbar (https://aur.archlinux.org/packages/ruby-ruby-progressbar/), replace it with this AUR package and hand over ruby-progressbar for some one to put the right gem (ie: progressbar)?