Date: Friday, April 18, 2014 @ 17:28:11
  Author: jsteel
Revision: 109768

archrelease: copy trunk to community-any

Added:
  facter/repos/community-any/
  facter/repos/community-any/PKGBUILD
    (from rev 109767, facter/trunk/PKGBUILD)

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

Copied: facter/repos/community-any/PKGBUILD (from rev 109767, 
facter/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD                              (rev 0)
+++ community-any/PKGBUILD      2014-04-18 15:28:11 UTC (rev 109768)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Greg Sutcliffe <facter_aur (at) emeraldreverie.orgr>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.carti...@free.fr>
+# Contributor: Thomas S Hatch <thatch45 (at) Gmail.com>
+# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com>
+# Contributor: Niels Abspoel <aboe76 (at) Gmail (dot) com>
+
+pkgname=facter
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="Collect and display system facts"
+arch=('any')
+url="http://puppetlabs.com/facter";
+license=('APACHE')
+depends=('ruby' 'inetutils' 'net-tools')
+source=(http://downloads.puppetlabs.com/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('25d093548e89b7354227a10f50a3fb8c')
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+
+  ruby install.rb --destdir="$pkgdir"/ --sitelibdir="$( ruby -e \
+    'puts RbConfig::CONFIG["vendorlibdir"]' )"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to