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

Jonathan Steel jsteel at nymeria.archlinux.org
Mon Jun 9 21:02:42 UTC 2014


    Date: Monday, June 9, 2014 @ 23:02:41
  Author: jsteel
Revision: 112934

archrelease: copy trunk to community-i686, community-x86_64

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

---------------------------+
 community-i686/PKGBUILD   |   30 ++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   30 ++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

Copied: ruby-shadow/repos/community-i686/PKGBUILD (from rev 112933, ruby-shadow/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-06-09 21:02:41 UTC (rev 112934)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Greg Sutcliffe <greg.sutcliffe at gmail.com>>
+
+pkgname=ruby-shadow
+pkgver=2.3.4
+pkgrel=1
+pkgdesc="Shadow password module"
+arch=('i686' '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=('0bd42411e9634a0b5db72ff64fcd26d9')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  ruby extconf.rb
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  make DESTDIR="$pkgdir"/ sitedir='$(rubylibprefix)/vendor_ruby' \
+    sitehdrdir='$(rubyhdrdir)/vendor_ruby' install
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: ruby-shadow/repos/community-x86_64/PKGBUILD (from rev 112933, ruby-shadow/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-06-09 21:02:41 UTC (rev 112934)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Greg Sutcliffe <greg.sutcliffe at gmail.com>>
+
+pkgname=ruby-shadow
+pkgver=2.3.4
+pkgrel=1
+pkgdesc="Shadow password module"
+arch=('i686' '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=('0bd42411e9634a0b5db72ff64fcd26d9')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  ruby extconf.rb
+  make
+}
+
+package() {
+  cd "$srcdir"/$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