summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Drobot2020-01-30 16:10:35 +0300
committerViktor Drobot2020-01-30 16:10:35 +0300
commit43d86f6ee0a819a2bb74aa1ef00d098910b85c4c (patch)
treee410b68fa7723deaea504b09e07400d60e2b712d
parent3bdd56698759aaf5e8b7db0f9c8ad6be164ef8cb (diff)
downloadaur-43d86f6ee0a819a2bb74aa1ef00d098910b85c4c.tar.gz
Update 3.3.2. Build from src now
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
2 files changed, 19 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f03fd0cac2c..c6ef8515aed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,23 @@
pkgbase = ruby-gettext
pkgdesc = Gettext gem is a pure Ruby Localization(L10n) library and tool which is modeled after the GNU gettext package.
- pkgver = 3.2.9
- pkgrel = 2
+ pkgver = 3.3.2
+ pkgrel = 1
url = https://github.com/ruby-gettext/gettext
arch = any
license = RUBY
license = LGPL3
+ checkdepends = ruby-test-unit
+ checkdepends = ruby-rake
+ checkdepends = ruby-test-unit-rr
makedepends = ruby-rdoc
- makedepends = ruby-test-unit
- makedepends = ruby-rake
makedepends = ruby-yard
- makedepends = ruby-irb
makedepends = ruby-bundler
depends = ruby
depends = ruby-locale
depends = ruby-text
options = !emptydirs
- source = https://github.com/ruby-gettext/gettext/archive/3.2.9/ruby-gettext-3.2.9.tar.gz
- sha512sums = e7352a343485c25077cdf08f2f92d7ae7ba798cb662ad090ce9e367576ee585753588dca2b7c8247ad007a816b87e57027ce70160b8f1bee83e3276e3725f314
+ source = https://github.com/ruby-gettext/gettext/archive/3.3.2/ruby-gettext-3.3.2.tar.gz
+ sha512sums = 7d2818af2d622a46609103493cb5e82856e1a9f3ae67fad824bcbc2e11fca65040021554515a476e3a079a02d0636e9fe3afa706242795d0fb1037e8f7b374a6
pkgname = ruby-gettext
diff --git a/PKGBUILD b/PKGBUILD
index 7b99b718274..396ea02f3e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,29 @@
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com
-# Contributor: bastelfreak
+# Contributor: tim@bastelfreak.de
_gemname='gettext'
pkgname="ruby-${_gemname}"
-pkgver=3.2.9
-pkgrel=2
+pkgver=3.3.2
+pkgrel=1
pkgdesc='Gettext gem is a pure Ruby Localization(L10n) library and tool which is modeled after the GNU gettext package.'
arch=(any)
url="https://github.com/ruby-gettext/gettext"
license=('RUBY' 'LGPL3')
-makedepends=('ruby-rdoc' 'ruby-test-unit' 'ruby-rake' 'ruby-yard' 'ruby-irb' 'ruby-bundler')
+makedepends=('ruby-rdoc' 'ruby-yard' 'ruby-bundler')
depends=('ruby' 'ruby-locale' 'ruby-text')
+checkdepends=('ruby-test-unit' 'ruby-rake' 'ruby-test-unit-rr')
source=("https://github.com/ruby-gettext/gettext/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
options=("!emptydirs")
-sha512sums=('e7352a343485c25077cdf08f2f92d7ae7ba798cb662ad090ce9e367576ee585753588dca2b7c8247ad007a816b87e57027ce70160b8f1bee83e3276e3725f314')
+sha512sums=('7d2818af2d622a46609103493cb5e82856e1a9f3ae67fad824bcbc2e11fca65040021554515a476e3a079a02d0636e9fe3afa706242795d0fb1037e8f7b374a6')
# update the gemspec to allow newer versions of rake
# remove deprecated options from the gemspec
prepare() {
cd "${_gemname}-${pkgver}"
- sed --in-place '/s.rubyforge_project/d' "${_gemname}.gemspec"
+ sed --in-place 's/s.license.*/s.licenses = ["Ruby", "LGPL-3.0+"]/' "${_gemname}.gemspec"
sed --in-place '/test\/unit\/notify/d' test/run-test.rb
- sed --in-place '/test\/unit\/rr/d' test/run-test.rb
sed --in-place '/s.add_development_dependency("test-unit-notify")/d' "${_gemname}.gemspec"
- sed --in-place '/s.add_development_dependency("test-unit-rr")/d' "${_gemname}.gemspec"
}
@@ -35,16 +34,16 @@ build() {
}
# tests are currently broken upstream
-#check() {
- #cd "${_gemname}-${pkgver}"
- #rake test
-#}
+check() {
+ cd "${_gemname}-${pkgver}"
+ rake test
+}
package() {
cd "${_gemname}-${pkgver}"
local _gemdir="$(gem env gemdir)"
- gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+ gem install --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
rm -rf "${pkgdir}/${_gemdir}/cache"
}