mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
39 lines
1012 B
Bash
Executable File
39 lines
1012 B
Bash
Executable File
# Maintainer: Thomas S Hatch <thatch45@gmail.com>
|
|
|
|
pkgname=salt
|
|
pkgver=0.9.0
|
|
pkgrel=1
|
|
pkgdesc="A remote execution and communication system built on zeromq"
|
|
arch=(any)
|
|
url="https://github.com/thatch45/salt"
|
|
license=("APACHE")
|
|
depends=('python2'
|
|
'python2-pyzmq'
|
|
'python-m2crypto'
|
|
'python2-yaml'
|
|
'pycrypto'
|
|
'python2-psutil')
|
|
backup=('etc/salt/master'
|
|
'etc/salt/minion')
|
|
makedepends=()
|
|
optdepends=()
|
|
options=()
|
|
source=("https://github.com/downloads/thatch45/salt/$pkgname-$pkgver.tar.gz"
|
|
"salt-master"
|
|
"salt-syndic"
|
|
"salt-minion")
|
|
md5sums=('26456860e89f53deaf75193da50b449a'
|
|
'4baf45d1610d771b742de2cbd8951b9f')
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
python2 setup.py install --root=$pkgdir/ --optimize=1
|
|
|
|
mkdir -p $pkgdir/etc/rc.d/
|
|
cp $srcdir/pkg/arch/salt-master $pkgdir/etc/rc.d/
|
|
cp $srcdir/pkg/arch/salt-minion $pkgdir/etc/rc.d/
|
|
cp $srcdir/pkg/arch/salt-syndic $pkgdir/etc/rc.d/
|
|
chmod +x $pkgdir/etc/rc.d/*
|
|
}
|