blob: 90bea1c6dac23376369fa856611e0fe69e5c2e7a (
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
|
# Maintainer: farawayer <farwayer@gmail.com>
_gemname=fastlane
pkgname=$_gemname
pkgver=2.184.0
pkgrel=1
pkgdesc='The easiest way to automate beta deployments and releases for your iOS and Android apps'
arch=(any)
url='https://fastlane.tools'
license=(MIT)
depends=(ruby)
makedepends=(ruby-rake)
options=(!emptydirs)
source=(
https://rubygems.org/downloads/$pkgname-$pkgver.gem
fastlane
)
noextract=($_gemname-$pkgver.gem)
sha1sums=('dd1e50de35ac73f1bcec5d61caa77c892bd21cd3'
'77df078e0af5365d7a9d406e46eb5719801c46a6')
package() {
mkdir -p "$pkgdir/usr/bin"
gem install --no-user-install --no-document -i "$pkgdir/opt/$pkgname" $_gemname-$pkgver.gem
rm -r "$pkgdir/opt/$pkgname/cache"
install -m755 fastlane "$pkgdir/usr/bin/$pkgname"
install -D -m644 "$pkgdir/opt/$pkgname/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|