Date: Sunday, April 5, 2015 @ 09:38:19 Author: jsteel Revision: 130709
archrelease: copy trunk to community-testing-any Added: facter/repos/community-testing-any/ facter/repos/community-testing-any/PKGBUILD (from rev 130708, facter/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: facter/repos/community-testing-any/PKGBUILD (from rev 130708, facter/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2015-04-05 07:38:19 UTC (rev 130709) @@ -0,0 +1,27 @@ +# $Id$ +# Maintainer: Jonathan Steel <jsteel at 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.4.3 +pkgrel=1 +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=('b430432a45a76cf0211e0c0d5bb94346') + +package() { + cd $pkgname-$pkgver + + ruby install.rb --destdir="$pkgdir" --sitelibdir="$( ruby -e \ + 'puts RbConfig::CONFIG["vendorlibdir"]' )" + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}