[arch-commits] Commit in ruby27-shadow/repos (2 files)
Tim Meusel
bastelfreak at archlinux.org
Sun May 16 15:47:01 UTC 2021
Date: Sunday, May 16, 2021 @ 15:47:01
Author: bastelfreak
Revision: 935875
archrelease: copy trunk to community-testing-x86_64
Added:
ruby27-shadow/repos/community-testing-x86_64/
ruby27-shadow/repos/community-testing-x86_64/PKGBUILD
(from rev 935874, ruby27-shadow/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: ruby27-shadow/repos/community-testing-x86_64/PKGBUILD (from rev 935874, ruby27-shadow/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-05-16 15:47:01 UTC (rev 935875)
@@ -0,0 +1,31 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Greg Sutcliffe <greg.sutcliffe at gmail.com>>
+
+_reponame=ruby-shadow
+pkgname=ruby27-shadow
+pkgver=2.5.0
+pkgrel=1
+pkgdesc='Shadow password module'
+arch=('x86_64')
+url="https://github.com/apalmblad/${pkgname}"
+license=('CPL')
+depends=('ruby2.7')
+source=($pkgname-$pkgver.tar.gz::https://github.com/apalmblad/$_reponame/archive/$pkgver.tar.gz)
+sha512sums=('66cf0405230c0cbc723f17bf016d84b5054be4db5b32bca55ede876b5725c0f8de849c537c6020f38053825f55177bebacd0fdbb20d49110ea8cb2d5b75df9da')
+
+build() {
+ cd "${_reponame}-${pkgver}"
+
+ ruby-2.7 extconf.rb
+ make
+}
+
+package() {
+ cd "${_reponame}-${pkgver}"
+
+ make DESTDIR="$pkgdir"/ sitedir='$(rubylibprefix)/vendor_ruby' \
+ sitehdrdir='$(rubyhdrdir)/vendor_ruby' install
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list