blob: f7ea64324625a2f1f13c30ac03e0e83183a74a90 (
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
25
26
27
28
29
30
|
# Contributor (Arch): Greg Sutcliffe <facter_aur (at) emeraldreverie.orgr>
# Contributor (Arch): Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
# Contributor (Arch): Thomas S Hatch <thatch45 (at) Gmail.com>
# Contributor (Arch): 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"
}
|