summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f8c46d4ae2d6a6a655131effae26fb7fed42f790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Generated by gem2arch (https://github.com/anatol/gem2arch)
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: annotat <post@annotat.net>

_gemname=schleuder
pkgname=ruby-$_gemname
pkgver=3.5.3
pkgrel=1
pkgdesc='Schleuder is a group'\''s gateway: a gpg-enabled mailinglist with remailing-capabilities.'
arch=(any)
url='https://schleuder.org'
license=(GPL-2)
depends=(ruby gnupg gpgme sqlite openssl)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)
sha512sums=('2915c2b45f32439dc93a78223edc73a77f22a69889a80b1d6fb93acd7616087c726990dda912942c0764f0e2cce595d6fed2fc3c15b795fb8c4ee2dda0421331')

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"
}