mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
26 lines
744 B
Bash
26 lines
744 B
Bash
# Maintainer: Adrián Chaves Fernández (Gallaecio)
|
|
|
|
pkgname=ruby-builder
|
|
_pkgname=builder
|
|
pkgver=3.2.0
|
|
pkgrel=1
|
|
pkgdesc="A simple Ruby library to create XML markup and data structures."
|
|
arch=('x86_64')
|
|
url="http://builder.rubyforge.org"
|
|
license=('MIT')
|
|
depends=('ruby')
|
|
source=("https://github.com/jimweirich/builder/archive/$_pkgname-$pkgver.tar.gz")
|
|
md5sums=('41b41666df9cb92529fd58ac250b0524')
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$_pkgname-$pkgver
|
|
|
|
local _gemdir=$(ruby -rubygems -e 'puts Gem.default_dir')
|
|
gem install \
|
|
--ignore-dependencies --install-dir $pkgdir$_gemdir \
|
|
$_pkgname-$pkgver.gem
|
|
|
|
install -Dm644 $srcdir/$_pkgname-$_pkgname-$pkgver/MIT-LICENSE \
|
|
$pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|