summaryrefslogtreecommitdiff
path: root/social/facter/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-07 15:26:04 +0000
committerroot <root@rshg054.dnsready.net>2011-09-07 15:26:04 +0000
commit9a1a8d77ee00e49dfeef44d74b1e40a831332383 (patch)
tree8b80a03609eba8a12cbb0c48b1a31266c6bdc540 /social/facter/PKGBUILD
parentfe769389426a6aa5a2878bf7dcfc6144717e1e93 (diff)
Wed Sep 7 15:26:04 UTC 2011
Diffstat (limited to 'social/facter/PKGBUILD')
-rw-r--r--social/facter/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/social/facter/PKGBUILD b/social/facter/PKGBUILD
new file mode 100644
index 000000000..877572abb
--- /dev/null
+++ b/social/facter/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Thomas S Hatch <thatch45 (at) Gmail.com>
+# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com>
+
+pkgname=facter
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="A library for collecting facts about your system."
+arch=("any")
+url="http://puppetlabs.com/projects/facter/"
+license=("Apache")
+depends=("ruby")
+options=(!emptydirs)
+source=(http://puppetlabs.com/downloads/facter/facter-$pkgver.tar.gz)
+md5sums=('bf7e384bf247935e973cfd7bf5592dfe')
+
+package() {
+ cd $srcdir/facter-$pkgver
+
+ ruby ./install.rb \
+ --destdir=$pkgdir \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin
+
+}