Commit ad1d2830 authored by Chaoting Liu's avatar Chaoting Liu
Browse files

ruby-builder: update PKGBUILD, but dont know how to build

parent ba466630
#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio)
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=ruby-builder
_pkgname=builder
pkgver=2.1.2
pkgver=3.2.0
pkgrel=1
pkgdesc="A simple Ruby library to create XML markup and data structures."
arch=('any')
url="http://rubyforge.org/projects/builder/"
arch=('x86_64')
url="http://builder.rubyforge.org"
license=('MIT')
depends=('ruby')
source=(http://files.rubyforge.vm.bytemark.co.uk/$_pkgname/$_pkgname-$pkgver.gem
COPYING)
md5sums=('e96a525d9e0b42a2e2d5e77cbd02eb72'
'0104f56a052f3a18d4a97b55cc443dee')
build() {
cd $srcdir
}
source=("https://github.com/jimweirich/builder/archive/$_pkgname-$pkgver.tar.gz")
md5sums=('41b41666df9cb92529fd58ac250b0524')
package() {
cd $srcdir
cd $srcdir/$_pkgname-$_pkgname-$pkgver
local _gemdir=$(ruby -rubygems -e 'puts Gem.default_dir')
gem install \
--ignore-dependencies -i $pkgdir$_gemdir \
--ignore-dependencies --install-dir $pkgdir$_gemdir \
$_pkgname-$pkgver.gem
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
install -Dm644 $srcdir/$_pkgname-$_pkgname-$pkgver/MIT-LICENSE \
$pkgdir/usr/share/licenses/$pkgname/LICENSE
}
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