blob: 61f95c6c93dd296b7a8499ee3d96e63eba4e4fc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Generated by gem2arch (https://github.com/anatol/gem2arch)
# Maintainer: Max Reitz <xanclic at xanclic dot moe>
_gemname=ruby-mpd
pkgname=ruby-$_gemname
pkgver=0.3.3
pkgrel=1
pkgdesc="A powerful, modern and feature complete library for the Music Player Daemon"
arch=('any')
url="https://github.com/archSeer/ruby-mpd"
license=('GPL2')
depends=('ruby')
makedepends=('ruby'
'rubygems')
source=("https://rubygems.org/gems/$_gemname-$pkgver.gem")
sha256sums=("ec42cd27f99bb0734ba7ce19526db2b2e4f9ecfa8afc8799bb090055ed7a0051")
noextract=("$_gemname-$pkgver.gem")
options=('!emptydirs')
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 "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/COPYING" \
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}
|