[arch-commits] Commit in ruby2.5/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Mar 16 08:04:55 UTC 2019
Date: Saturday, March 16, 2019 @ 08:04:55
Author: svenstaro
Revision: 442111
archrelease: copy trunk to community-x86_64
Added:
ruby2.5/repos/community-x86_64/PKGBUILD
(from rev 442110, ruby2.5/trunk/PKGBUILD)
Deleted:
ruby2.5/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-16 08:04:43 UTC (rev 442110)
+++ PKGBUILD 2019-03-16 08:04:55 UTC (rev 442111)
@@ -1,62 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Thomas Dziedzic <gostrc at gmail.com>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: John Proctor <jproctor at prium.net>
-# Contributor: Jeramy Rutley <jrutley at gmail.com>
-
-_rubyver=2.5
-pkgname=ruby2.5
-pkgver=2.5.3
-pkgdesc='An object-oriented language for quick and easy programming (version 2.5)'
-pkgrel=3
-arch=(x86_64)
-url='http://www.ruby-lang.org/en/'
-license=(BSD custom)
-depends=(gdbm openssl libffi libyaml gmp zlib rubygems)
-optdepends=('tk: for Ruby/TK')
-makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk)
-options=(!emptydirs)
-source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz)
-sha512sums=('6dcae0e8d0bacdb2cbde636e2030596308b5af53f2eb85d3adccb67b02e6f8f9751e8117d12f8484829fdd9d995f6e327f701d9b433bcf94f1f59d13a1fd7518')
-
-build() {
- cd ruby-${pkgver}
-
- ./configure \
- --prefix=/opt/ruby${_rubyver} \
- --program-suffix=-${_rubyver} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --sharedstatedir=/var/lib \
- --libexecdir=/usr/lib/ruby \
- --enable-shared \
- --disable-rpath \
- --with-dbm-type=gdbm_compat
-
- make
-}
-
-check() {
- cd ruby-${pkgver}
-
- make test
-}
-
-package() {
- cd ruby-${pkgver}
-
- make DESTDIR="${pkgdir}" install-nodoc
-
- install -dm755 $pkgdir/usr/bin
- install -dm755 $pkgdir/usr/lib
-
- for i in erb irb rdoc ri ruby testrb rake gem; do
- ln -s /opt/$pkgname/bin/$i-${_rubyver} $pkgdir/usr/bin/$i-${_rubyver}
- ln -s /opt/$pkgname/bin/$i-${_rubyver} $pkgdir/opt/$pkgname/bin/$i
- done
-
- ln -s /opt/$pkgname/lib/libruby.so.${_rubyver} $pkgdir/usr/lib/libruby.so.${_rubyver}
-
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
- install -D -m644 BSDL "${pkgdir}/usr/share/licenses/$pkgname/BSDL"
-}
Copied: ruby2.5/repos/community-x86_64/PKGBUILD (from rev 442110, ruby2.5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-16 08:04:55 UTC (rev 442111)
@@ -0,0 +1,62 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+# Contributor: Jeramy Rutley <jrutley at gmail.com>
+
+_rubyver=2.5
+pkgname=ruby2.5
+pkgver=2.5.5
+pkgdesc='An object-oriented language for quick and easy programming (version 2.5)'
+pkgrel=1
+arch=(x86_64)
+url='http://www.ruby-lang.org/en/'
+license=(BSD custom)
+depends=(gdbm openssl libffi libyaml gmp zlib rubygems)
+optdepends=('tk: for Ruby/TK')
+makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk)
+options=(!emptydirs)
+source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz)
+sha512sums=('06b1d58536ebfacb7b56c1e6ed4b8ab816fadc4f48c845a452554cd262e7908199a30e5793f3cbaec2db56a8803aa5c6089abf7bf06c8fc47867e97870b7dfec')
+
+build() {
+ cd ruby-${pkgver}
+
+ ./configure \
+ --prefix=/opt/ruby${_rubyver} \
+ --program-suffix=-${_rubyver} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sharedstatedir=/var/lib \
+ --libexecdir=/usr/lib/ruby \
+ --enable-shared \
+ --disable-rpath \
+ --with-dbm-type=gdbm_compat
+
+ make
+}
+
+check() {
+ cd ruby-${pkgver}
+
+ make test
+}
+
+package() {
+ cd ruby-${pkgver}
+
+ make DESTDIR="${pkgdir}" install-nodoc
+
+ install -dm755 $pkgdir/usr/bin
+ install -dm755 $pkgdir/usr/lib
+
+ for i in erb irb rdoc ri ruby testrb rake gem; do
+ ln -s /opt/$pkgname/bin/$i-${_rubyver} $pkgdir/usr/bin/$i-${_rubyver}
+ ln -s /opt/$pkgname/bin/$i-${_rubyver} $pkgdir/opt/$pkgname/bin/$i
+ done
+
+ ln -s /opt/$pkgname/lib/libruby.so.${_rubyver} $pkgdir/usr/lib/libruby.so.${_rubyver}
+
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+ install -D -m644 BSDL "${pkgdir}/usr/share/licenses/$pkgname/BSDL"
+}
More information about the arch-commits
mailing list