Date: Tuesday, December 30, 2014 @ 17:17:02 Author: anatolik Revision: 124956
archrelease: copy trunk to community-testing-any Added: facter/repos/community-testing-any/ facter/repos/community-testing-any/PKGBUILD (from rev 124955, facter/trunk/PKGBUILD) ----------+ PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) Copied: facter/repos/community-testing-any/PKGBUILD (from rev 124955, facter/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2014-12-30 16:17:02 UTC (rev 124956) @@ -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.3.0 +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=('7bb6dbeaef86cd79300b4723c06932bc') + +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 +}