[arch-commits] Commit in ruby-iconv/repos (4 files)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Fri Sep 27 08:51:25 UTC 2013
Date: Friday, September 27, 2013 @ 10:51:25
Author: alucryd
Revision: 97686
archrelease: copy trunk to community-i686, community-x86_64
Added:
ruby-iconv/repos/community-i686/PKGBUILD
(from rev 97685, ruby-iconv/trunk/PKGBUILD)
ruby-iconv/repos/community-x86_64/PKGBUILD
(from rev 97685, ruby-iconv/trunk/PKGBUILD)
Deleted:
ruby-iconv/repos/community-i686/PKGBUILD
ruby-iconv/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 80 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 32 -----------------
community-x86_64/PKGBUILD | 32 -----------------
3 files changed, 80 insertions(+), 64 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-09-27 08:50:42 UTC (rev 97685)
+++ community-i686/PKGBUILD 2013-09-27 08:51:25 UTC (rev 97686)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-
-pkgname=ruby-iconv
-pkgver=1.0.3
-pkgrel=3
-pkgdesc="Wrapper library for iconv"
-arch=('i686' 'x86_64')
-url="https://github.com/nurse/iconv"
-license=('BSD')
-depends=('ruby')
-source=("https://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem")
-noextract=("${pkgname#*-}-${pkgver}.gem")
-sha256sums=('94a9b62a56c96226b62b787cd45fdc48c03f4517f1e36e64db113b010fb012da')
-
-build() {
- gem install --no-user-install --ignore-dependencies -i . ${pkgname#*-}-${pkgver}.gem
-}
-
-package() {
- local _rubyver="$(ruby --version | sed 's/.* \(.*\..*\..*\)p.*/\1/')"
- install -dm 755 "${pkgdir}"/usr/lib/ruby/{gems/${_rubyver},vendor_ruby/${_rubyver}/$CARCH-linux}
- mv gems/${pkgname#*-}-${pkgver}/lib/* "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}/
- mv doc specifications "${pkgdir}"/usr/lib/ruby/gems/${_rubyver}/
- mv "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}/{iconv,$CARCH-linux}/iconv.so
-
-# License
- install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m 644 {gems/${pkgname#*-}-${pkgver},"${pkgdir}"/usr/share/licenses/${pkgname}}/BSDL
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-iconv/repos/community-i686/PKGBUILD (from rev 97685, ruby-iconv/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-09-27 08:51:25 UTC (rev 97686)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+
+pkgname=ruby-iconv
+pkgver=1.0.3
+pkgrel=4
+pkgdesc="Wrapper library for iconv"
+arch=('i686' 'x86_64')
+url="https://github.com/nurse/iconv"
+license=('BSD')
+depends=('ruby')
+source=("http://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem")
+noextract=("${pkgname#*-}-${pkgver}.gem")
+sha256sums=('94a9b62a56c96226b62b787cd45fdc48c03f4517f1e36e64db113b010fb012da')
+
+prepare() {
+ gem install --no-{document,user-install} --ignore-dependencies -i . ${pkgname#*-}-${pkgver}.gem
+}
+
+package() {
+ cd gems/${pkgname#*-}-${pkgver}
+
+ local _rubyver="$(ruby --version | sed 's/.* \(.*\..*\..*\)p.*/\1/')"
+
+ install -dm 755 "${pkgdir}"/usr/lib/ruby/{gems/${_rubyver},vendor_ruby}
+ mv lib "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}
+
+# Native extension
+ install -dm 755 "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}/$CARCH-linux
+ mv "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}/{iconv,$CARCH-linux}/iconv.so
+
+# Gem compatibility
+ mv ../../specifications "${pkgdir}"/usr/lib/ruby/gems/${_rubyver}/
+
+# License
+ install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m 644 {,"${pkgdir}"/usr/share/licenses/${pkgname}/}BSDL
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-09-27 08:50:42 UTC (rev 97685)
+++ community-x86_64/PKGBUILD 2013-09-27 08:51:25 UTC (rev 97686)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-
-pkgname=ruby-iconv
-pkgver=1.0.3
-pkgrel=3
-pkgdesc="Wrapper library for iconv"
-arch=('i686' 'x86_64')
-url="https://github.com/nurse/iconv"
-license=('BSD')
-depends=('ruby')
-source=("https://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem")
-noextract=("${pkgname#*-}-${pkgver}.gem")
-sha256sums=('94a9b62a56c96226b62b787cd45fdc48c03f4517f1e36e64db113b010fb012da')
-
-build() {
- gem install --no-user-install --ignore-dependencies -i . ${pkgname#*-}-${pkgver}.gem
-}
-
-package() {
- local _rubyver="$(ruby --version | sed 's/.* \(.*\..*\..*\)p.*/\1/')"
- install -dm 755 "${pkgdir}"/usr/lib/ruby/{gems/${_rubyver},vendor_ruby/${_rubyver}/$CARCH-linux}
- mv gems/${pkgname#*-}-${pkgver}/lib/* "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}/
- mv doc specifications "${pkgdir}"/usr/lib/ruby/gems/${_rubyver}/
- mv "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}/{iconv,$CARCH-linux}/iconv.so
-
-# License
- install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
- install -m 644 {gems/${pkgname#*-}-${pkgver},"${pkgdir}"/usr/share/licenses/${pkgname}}/BSDL
-}
-
-# vim: ts=2 sw=2 et:
Copied: ruby-iconv/repos/community-x86_64/PKGBUILD (from rev 97685, ruby-iconv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-09-27 08:51:25 UTC (rev 97686)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+
+pkgname=ruby-iconv
+pkgver=1.0.3
+pkgrel=4
+pkgdesc="Wrapper library for iconv"
+arch=('i686' 'x86_64')
+url="https://github.com/nurse/iconv"
+license=('BSD')
+depends=('ruby')
+source=("http://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem")
+noextract=("${pkgname#*-}-${pkgver}.gem")
+sha256sums=('94a9b62a56c96226b62b787cd45fdc48c03f4517f1e36e64db113b010fb012da')
+
+prepare() {
+ gem install --no-{document,user-install} --ignore-dependencies -i . ${pkgname#*-}-${pkgver}.gem
+}
+
+package() {
+ cd gems/${pkgname#*-}-${pkgver}
+
+ local _rubyver="$(ruby --version | sed 's/.* \(.*\..*\..*\)p.*/\1/')"
+
+ install -dm 755 "${pkgdir}"/usr/lib/ruby/{gems/${_rubyver},vendor_ruby}
+ mv lib "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}
+
+# Native extension
+ install -dm 755 "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}/$CARCH-linux
+ mv "${pkgdir}"/usr/lib/ruby/vendor_ruby/${_rubyver}/{iconv,$CARCH-linux}/iconv.so
+
+# Gem compatibility
+ mv ../../specifications "${pkgdir}"/usr/lib/ruby/gems/${_rubyver}/
+
+# License
+ install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m 644 {,"${pkgdir}"/usr/share/licenses/${pkgname}/}BSDL
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list