summaryrefslogtreecommitdiff
path: root/social/facter/PKGBUILD
diff options
context:
space:
mode:
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
+
+}