mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 11:51:38 +01:00
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
_gemname=tzinfo
|
|
pkgname=ruby-$_gemname
|
|
pkgver=1.0.1
|
|
pkgrel=0
|
|
pkgdesc="Ruby library to provide daylight savings aware transformations"
|
|
url="http://tzinfo.rubyforge.org/"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="ruby"
|
|
depends_dev=
|
|
makedepends="$depends_dev ruby-gems"
|
|
install=""
|
|
subpackages=""
|
|
source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
|
|
|
|
_builddir="$srcdir"/$_realname-$pkgver
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
|
|
local _geminstdir=$_gemdir/gems/$_gemname-$pkgver
|
|
mkdir -p "$pkgdir" || return 1
|
|
|
|
gem install --local --install-dir "$pkgdir"/$_gemdir \
|
|
--ignore-dependencies --verbose --no-rdoc --no-ri \
|
|
"$srcdir"/$_gemname-$pkgver.gem || return 1
|
|
rm -rf "$pkgdir"/$_gemdir/cache \
|
|
"$pkgdir"/$_geminstdir/ext \
|
|
"$pkgdir"/$_geminstdir/.require_paths
|
|
}
|
|
|
|
md5sums="764490ee7eea2b81bf1036135a92e24a tzinfo-1.0.1.gem"
|
|
sha256sums="438297f420d1c48d55fc2a8df08e0b7ba47311f60fe02ad8212256612c505a42 tzinfo-1.0.1.gem"
|
|
sha512sums="f6cafe481dd36755d47a7ebc4cdd969c2a4648a01c1463d8e8061995272556ec0fd04f4df65978fd53faa638d3068c0a30efbfa66835fe8a6450092baaedf0f8 tzinfo-1.0.1.gem"
|