summaryrefslogtreecommitdiff
path: root/pcr/facter
diff options
context:
space:
mode:
authoraurelien <tek@localhost.localdomain>2012-11-22 18:56:54 +0100
committeraurelien <tek@localhost.localdomain>2012-11-22 18:56:54 +0100
commit8298bee7828000bf1ab55304695872472883ab65 (patch)
treedeb47595e25e8acddff6fce94a403c918e6d909f /pcr/facter
parentf97ff910471fb3ae2c8ea69befecaae8cbf6dbea (diff)
downloadabslibre-8298bee7828000bf1ab55304695872472883ab65.tar.gz
abslibre-8298bee7828000bf1ab55304695872472883ab65.tar.bz2
abslibre-8298bee7828000bf1ab55304695872472883ab65.zip
+ facter puppet ruby-hiera-json ruby-hiera ruby-shadow
Diffstat (limited to 'pcr/facter')
-rw-r--r--pcr/facter/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/facter/PKGBUILD b/pcr/facter/PKGBUILD
new file mode 100644
index 000000000..956569001
--- /dev/null
+++ b/pcr/facter/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Greg Sutcliffe <facter_aur (at) emeraldreverie.orgr>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
+# Contributor: Thomas S Hatch <thatch45 (at) Gmail.com>
+# Contributor: Dave Simons <miouhpi (at) Gmail (dot) com>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres
+
+pkgname=facter
+pkgver=1.6.14
+pkgrel=1
+pkgdesc="A library for collecting facts about your system."
+arch=("any")
+url="http://puppetlabs.com/projects/facter/"
+license=("APACHE")
+depends=("ruby" "inetutils" "net-tools")
+options=(!emptydirs)
+source=(http://puppetlabs.com/downloads/facter/facter-$pkgver.tar.gz)
+md5sums=('b6c3df8ad1781c10d30785c58a4504ef')
+
+package() {
+ cd $srcdir/facter-$pkgver
+
+ ruby ./install.rb \
+ --destdir=$pkgdir \
+ --bindir=/usr/bin \
+ --sbindir=/usr/sbin
+
+ install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+}