summaryrefslogtreecommitdiff
path: root/social/facter/PKGBUILD
blob: 877572abbf76dce463f4dc687a52ae14294a312b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
  
}