Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
d4a5c4ae
Commit
d4a5c4ae
authored
Apr 19, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #181 from leucos/integration
Adds PKGBUILD file for Arch linux
parents
4f0ed202
3fae2ea8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
packaging/arch/PKGBUILD
+44
-0
No files found.
packaging/arch/PKGBUILD
0 → 100644
View file @
d4a5c4ae
#Maintainer: Michel Blanc <mblanc@erasme.org>
pkgname
=
ansible-git
pkgver
=
20120419
pkgrel
=
1
pkgdesc
=
"A radically simple deployment, model-driven configuration management, and command execution framework"
arch
=(
'any'
)
url
=
"https://github.com/ansible/ansible"
license
=(
'GPL3'
)
depends
=(
'python2'
'python2-yaml'
'python-paramiko>=1.7.7'
'python2-jinja'
'python-simplejson'
)
makedepends
=(
'git'
'asciidoc'
'fakeroot'
)
_gitroot
=
"https://github.com/ansible/ansible"
_gitname
=
"ansible"
build
()
{
cd
"
$srcdir
"
msg
"Connecting to GIT server...."
if
[
-d
$_gitname
]
;
then
cd
$_gitname
&&
git pull origin
msg
"The local files are updated."
else
git clone
$_gitroot
$_gitname
fi
msg
"GIT checkout done or server timeout"
cd
"
$srcdir
/
$_gitname
"
make
}
package
()
{
cd
"
$srcdir
/
$_gitname
"
mkdir
-p
${
pkgdir
}
/usr/share/ansible
cp ./library/
*
${
pkgdir
}
/usr/share/ansible/
python setup.py install
-O1
--root
=
${
pkgdir
}
install
-D
docs/man/man1/ansible.1
${
pkgdir
}
/usr/share/man/man1/ansible.1
install
-D
docs/man/man1/ansible-playbook.1
${
pkgdir
}
/usr/share/man/man1/ansible-playbook.1
gzip
-9
${
pkgdir
}
/usr/share/man/man1/ansible.1
gzip
-9
${
pkgdir
}
/usr/share/man/man1/ansible-playbook.1
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment