mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Move init scripts into package for Arch
This commit is contained in:
parent
509278cf22
commit
df3a703030
@ -18,12 +18,19 @@ backup=('etc/salt/master'
|
||||
makedepends=()
|
||||
optdepends=()
|
||||
options=()
|
||||
source=("$pkgname-$pkgver.tar.gz")
|
||||
md5sums=('923fe5de8ec88900e70b6996ae3a2ff1')
|
||||
source=("https://github.com/downloads/thatch45/salt/$pkgname-$pkgver.tar.gz"
|
||||
"salt-master"
|
||||
"salt-minion")
|
||||
md5sums=('93cc483021fbcc9920cb4daa3b2c36e2'
|
||||
'4baf45d1610d771b742de2cbd8951b9f'
|
||||
'11bc2e9042a5764e029fefbe49dddcc7')
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
|
||||
python2 setup.py install --root=$pkgdir/ --optimize=1
|
||||
|
||||
mkdir -p $pkgdir/etc/rc.d/
|
||||
cp $srcdir/salt-m* $pkgdir/etc/rc.d/
|
||||
chmod +x $pkgdir/etc/rc.d/*
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user