updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / bdsm / PKGBUILD
blobf813b81f8c7d5907b807f86d4c2518caa50459c0
1 # Maintainer: Joseph Hsu <jhsu.x1@gmail.com>
2 pkgname=bdsm
3 pkgver=20110418
4 pkgrel=1
5 pkgdesc="Bash Development and Scripting Manager"
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   sudo ./install
37 # vim:set ts=2 sw=2 et: