[arch-commits] Commit in ruby-shadow/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Jan 7 01:06:22 UTC 2019
Date: Monday, January 7, 2019 @ 01:06:22
Author: felixonmars
Revision: 420829
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 420828, ruby-shadow/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: ruby-shadow/repos/community-staging-x86_64/PKGBUILD (from rev 420828, ruby-shadow/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-01-07 01:06:22 UTC (rev 420829)
@@ -0,0 +1,29 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Greg Sutcliffe <greg.sutcliffe at gmail.com>>
+
+pkgname=ruby-shadow
+pkgver=2.5.0
+pkgrel=4
+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