Package Details: ruby-gollum 4.1.2-1

Git Clone URL: https://aur.archlinux.org/ruby-gollum.git (read-only)
Package Base: ruby-gollum
Description: A simple, Git-powered wiki.
Upstream URL: http://github.com/gollum/gollum
Licenses: MIT
Submitter: greyltc
Maintainer: noraj
Last Packager: bertptrs
Votes: 0
Popularity: 0.000000
First Submitted: 2017-02-27 03:01
Last Updated: 2017-08-08 13:39

Pinned Comments

noraj commented on 2019-02-07 23:49

I made a PKGBUILD for 4.1.4 but most of dependencies are too old. In the meantime you can use this:

# Maintainer: noraj <printf %s 'YWxleGFuZHJlLnphbm5pQGV1cm9wZS5jb20='|base64 -d>

_gemname=gollum
pkgname=ruby-$_gemname
pkgver=4.1.4
pkgrel=1
pkgdesc='A simple, Git-powered wiki.'
arch=(any)
url='http://github.com/gollum/gollum'
license=(MIT)
depends=('ruby>=1.9'
     'ruby-gollum-lib>=4.2.10'
     'ruby-gollum-lib<5'
     'ruby-kramdown>=1.9.0'
     'ruby-kramdown<1.10'
     'ruby-sinatra>=1.4.4'
     'ruby-sinatra<2' 
     'ruby-mustache>=0.99.5'
     'ruby-mustache<1'
     'ruby-useragent>=0.16.2'
     'ruby-useragent<0.17'
     'ruby-gemojione>=3.2'
     'ruby-gemojione<4')
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)

package() {
  local _gemdir="$(ruby -e'puts Gem.default_dir')"

  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem

  rm -rf "$pkgdir/$_gemdir/cache"
  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

sha256sums=('87c2dc6c68c91a423727a59b9d3e78e9e4656e2308065a1d779dd1711c586146')

Latest Comments

noraj commented on 2019-02-07 23:49

I made a PKGBUILD for 4.1.4 but most of dependencies are too old. In the meantime you can use this:

# Maintainer: noraj <printf %s 'YWxleGFuZHJlLnphbm5pQGV1cm9wZS5jb20='|base64 -d>

_gemname=gollum
pkgname=ruby-$_gemname
pkgver=4.1.4
pkgrel=1
pkgdesc='A simple, Git-powered wiki.'
arch=(any)
url='http://github.com/gollum/gollum'
license=(MIT)
depends=('ruby>=1.9'
     'ruby-gollum-lib>=4.2.10'
     'ruby-gollum-lib<5'
     'ruby-kramdown>=1.9.0'
     'ruby-kramdown<1.10'
     'ruby-sinatra>=1.4.4'
     'ruby-sinatra<2' 
     'ruby-mustache>=0.99.5'
     'ruby-mustache<1'
     'ruby-useragent>=0.16.2'
     'ruby-useragent<0.17'
     'ruby-gemojione>=3.2'
     'ruby-gemojione<4')
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)

package() {
  local _gemdir="$(ruby -e'puts Gem.default_dir')"

  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem

  rm -rf "$pkgdir/$_gemdir/cache"
  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

sha256sums=('87c2dc6c68c91a423727a59b9d3e78e9e4656e2308065a1d779dd1711c586146')

bertptrs commented on 2017-08-08 08:20

Thanks for spotting, should be fixed now.

greyltc commented on 2017-08-08 07:58

there's a typo in the source URL

bertptrs commented on 2017-08-07 15:17

Version 4.1.1 is now packaged, but due to dependencies it is packaged a little weird. Users having trouble upgrading are recommended to first remove ruby-gollum and ruby-gollum-lib before installing it again due to a file conflict.

I will probably release some tweaks in the coming days since I'm not quite content with how it's done at the moment, but this is a quick fix for now.

carbolymer commented on 2017-07-21 08:57

4.1.0 is available since March 2017. Now It's July. when this package will be updated?

bertptrs commented on 2017-06-08 12:05

This package installs all these gems included, but most of these are available as either AUR or regular packages, which should be used instead.

See:
aur/gemojione
aur/kramdown
aur/ruby-mini_portile
community/ruby-mustache
aur/ruby-nokogiri
community/rack
aur/ruby-rouge
aur/ruby-sanitize (possibly too new, since it is at version 4.0)