[arch-commits] Commit in ruby-shadow/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Jan 3 07:05:13 UTC 2018


    Date: Wednesday, January 3, 2018 @ 07:05:13
  Author: foutrelis
Revision: 277861

archrelease: copy trunk to community-staging-x86_64

Added:
  ruby-shadow/repos/community-staging-x86_64/
  ruby-shadow/repos/community-staging-x86_64/PKGBUILD
    (from rev 277860, ruby-shadow/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: ruby-shadow/repos/community-staging-x86_64/PKGBUILD (from rev 277860, ruby-shadow/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-01-03 07:05:13 UTC (rev 277861)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Greg Sutcliffe <greg.sutcliffe at gmail.com>>
+
+pkgname=ruby-shadow
+pkgver=2.5.0
+pkgrel=3
+pkgdesc="Shadow password module"
+arch=('x86_64')
+url="https://github.com/apalmblad/ruby-shadow"
+license=('CPL')
+depends=('ruby')
+source=($pkgname-$pkgver.tar.gz::https://github.com/apalmblad/$pkgname/archive/$pkgver.tar.gz)
+md5sums=('e9c35620f6c25233b7b54dcab8ee955e')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ruby extconf.rb
+  make
+}
+
+package() {
+  cd $pkgname-$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