[arch-commits] Commit in ruby2.7/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Mon Mar 22 03:58:56 UTC 2021
Date: Monday, March 22, 2021 @ 03:58:55
Author: anatolik
Revision: 898616
upgpkg: ruby2.7 2.7.2-2: Use so library name suffix to avoid conflict with libruby.so from ruby3
Modified:
ruby2.7/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-22 02:20:07 UTC (rev 898615)
+++ PKGBUILD 2021-03-22 03:58:55 UTC (rev 898616)
@@ -5,12 +5,16 @@
pkgname=ruby2.7
pkgver=2.7.2
-pkgrel=1
+pkgrel=2
arch=(x86_64)
+pkgdesc='An object-oriented language for quick and easy programming, version 2.7'
url='https://www.ruby-lang.org/en/'
license=(BSD custom)
-depends=(libxcrypt)
-makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk)
+depends=(libxcrypt gdbm openssl libffi libyaml gmp zlib)
+optdepends=(
+ 'tk: for Ruby/TK'
+)
+makedepends=(tk)
options=(!emptydirs)
source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz)
sha512sums=('7972278b096aa768c7adf2befd26003e18781a29ca317640317d30d93d6e963ded197724c8e2f1dfe1e838c5647176d414a74732a62e931fb50d6f2e0f777349')
@@ -21,6 +25,7 @@
./configure \
--prefix=/usr \
--program-suffix=-2.7 \
+ --with-soname=ruby-2.7 \
--sysconfdir=/etc \
--localstatedir=/var \
--sharedstatedir=/var/lib \
@@ -27,18 +32,13 @@
--libexecdir=/usr/lib/ruby \
--enable-shared \
--disable-rpath \
- --with-dbm-type=gdbm_compat
+ --with-dbm-type=gdbm_compat \
+ --disable-install-doc
make
}
package() {
- pkgdesc='An object-oriented language for quick and easy programming'
- depends=(gdbm openssl libffi libyaml gmp zlib)
- optdepends=(
- 'tk: for Ruby/TK'
- )
-
cd ruby-${pkgver}
make DESTDIR="${pkgdir}" install-nodoc
@@ -48,5 +48,4 @@
# remove files conflicting with 'ruby' package
rm -r "$pkgdir"/usr/share/man/
- rm "$pkgdir"/usr/lib/libruby.so
}
More information about the arch-commits
mailing list