updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bdsm-git / PKGBUILD
blob6c273591296f9d06d55f63ed3503ab9ed7724a72
1 # Maintainer: Joseph Hsu <jhsu.x1@gmail.com>
2 pkgname=bdsm-git
3 pkgver=20110418
4 pkgrel=1
5 pkgdesc="BDSM Framework :: Bash Devops Scripting Management Framework"
6 arch=('i686' 'x86_64')
7 url="https://bdsm.beginrescueend.com/"
8 license=("Apache License, Version 2.0")
9 depends=("bash")
10 makedepends=("git")
11 provides=("bdsm")
12 source=()
13 md5sums=()
15 _gitroot=https://github.com/wayneeseguin/bdsm.git
16 _gitname=bdsm
18 build() {
19   cd "$srcdir"
20   msg "Connecting to Github repo ($_gitroot)...."
21   if [ -d $_gitname ] ; then
22     cd $_gitname
23     git pull || return 1
24     msg2 "The local files are updated."
25   else
26     msg2 "Cloning repo..."
27     git clone $_gitroot $_gitname
28   fi
31 package() {
32   msg2 "Installing BDSM..."
33   cd "$srcdir/$_gitname"
34   export prefix_path=$pkgdir
35   ./install
38 # vim:set ts=2 sw=2 et: