summaryrefslogtreecommitdiff
path: root/user/ruby-rake-compiler
diff options
context:
space:
mode:
Diffstat (limited to 'user/ruby-rake-compiler')
-rw-r--r--user/ruby-rake-compiler/APKBUILD11
-rw-r--r--user/ruby-rake-compiler/gemfile-remove-unwanted-files.patch10
2 files changed, 9 insertions, 12 deletions
diff --git a/user/ruby-rake-compiler/APKBUILD b/user/ruby-rake-compiler/APKBUILD
index cdd459e33..be2ed80b0 100644
--- a/user/ruby-rake-compiler/APKBUILD
+++ b/user/ruby-rake-compiler/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=ruby-rake-compiler
_gemname=${pkgname#ruby-}
-pkgver=1.0.8
+pkgver=1.0.9
pkgrel=0
pkgdesc="Provide a standard and simplified way to build and package Ruby extensions"
url="https://github.com/rake-compiler/rake-compiler"
@@ -10,25 +10,22 @@ arch="noarch"
license="MIT"
depends="ruby ruby-rake"
checkdepends="ruby-rspec"
+makedepends=""
source="$pkgname-$pkgver.tar.gz::https://github.com/rake-compiler/$_gemname/archive/v$pkgver.tar.gz
gemfile-remove-unwanted-files.patch"
builddir="$srcdir/$_gemname-$pkgver"
build() {
- cd "$builddir"
gem build $_gemname.gemspec
}
check() {
- cd "$builddir"
rspec spec
}
package() {
local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
- cd "$builddir"
-
gem install --local \
--install-dir "$gemdir" \
--bindir "$pkgdir/usr/bin" \
@@ -42,5 +39,5 @@ package() {
rm -r cache build_info doc
}
-sha512sums="30b753d45a1180e034b520ad6385f2799098f0916d55e8b4729f5e3a29dabc1acfa292475edfb384c7809543e1c3e428e28db1bacb5383deb9f4bb31b18d6fe5 ruby-rake-compiler-1.0.8.tar.gz
-e68672541d62898bc72fb7e40f16bc75ed1d46eabedd18da60a6f0673d67bf63d990e191fb41d6034e3f6361662807030cbd8f0c817223a5d03c46a3a664f855 gemfile-remove-unwanted-files.patch"
+sha512sums="8a5ccbc4bbe6a546634f939c1cbe42b35d952173bbe914e7a22eb78f3f2e85b48e207ff36b70432fe469a2d07d62b8e59c9827352181122fde76ba89bbc2aca0 ruby-rake-compiler-1.0.9.tar.gz
+21feda7887b7fe0978f906d407ecd44d7f25e334e7ee8ff27f73e71d494bd10af4174d7373652b29b1a8eaf95f53f2c8581879088f343e7f045fc265eecf7eac gemfile-remove-unwanted-files.patch"
diff --git a/user/ruby-rake-compiler/gemfile-remove-unwanted-files.patch b/user/ruby-rake-compiler/gemfile-remove-unwanted-files.patch
index 3424cd912..6c2909c09 100644
--- a/user/ruby-rake-compiler/gemfile-remove-unwanted-files.patch
+++ b/user/ruby-rake-compiler/gemfile-remove-unwanted-files.patch
@@ -1,6 +1,6 @@
--- a/rake-compiler.gemspec
+++ b/rake-compiler.gemspec
-@@ -22,14 +22,8 @@
+@@ -23,14 +23,8 @@
s.add_development_dependency 'cucumber', '~> 1.1.4'
# components, files and paths
@@ -11,16 +11,16 @@
- s.files += Dir.glob("spec/**/*.rb")
- s.files += Dir.glob("tasks/**/*.rake")
- s.files += ["Rakefile", "Gemfile"]
-- s.files += Dir.glob("*.{rdoc,txt,yml}")
+- s.files += Dir.glob("*.{md,rdoc,txt,yml}")
s.bindir = 'bin'
s.executables = ['rake-compiler']
-@@ -38,8 +32,6 @@
+@@ -39,8 +33,6 @@
# documentation
- s.rdoc_options << '--main' << 'README.rdoc' << '--title' << 'rake-compiler -- Documentation'
+ s.rdoc_options << '--main' << 'README.md' << '--title' << 'rake-compiler -- Documentation'
-
-- s.extra_rdoc_files = %w(README.rdoc LICENSE.txt History.txt)
+- s.extra_rdoc_files = %w(README.md LICENSE.txt History.txt)
# project information
s.homepage = 'https://github.com/rake-compiler/rake-compiler'