summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b916ffc18476fbf0d8c1c7b3405ea17a908cd0b (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
# Generated by gem2arch (https://github.com/anatol/gem2arch)
# Maintainer: Jose Riha <jose1711 gmail com>
# Maintainer: Jakob Schöttl <jschoett gmail com>
# Contributor: mitro <mitro@somecode.com>

pkgname=taskjuggler
pkgver=3.7.2
pkgrel=1
pkgdesc='A Project Management Software'
arch=(any)
url='http://www.taskjuggler.org'
license=('GPL')
depends=(ruby ruby-mail 'ruby-term-ansicolor>=1.7.1' ruby-rdoc ruby-sync)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$pkgname-$pkgver.gem)
noextract=($pkgname-$pkgver.gem)
sha1sums=('ef5d4f62e78f835a3366065ca92ac6844454a84f')

package() {
  local _gemdir="$(ruby -e'puts Gem.default_dir')"
  gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $pkgname-$pkgver.gem
  rm "$pkgdir/$_gemdir/cache/$pkgname-$pkgver.gem"
  install -D -m644 "$pkgdir/$_gemdir/gems/$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}