Created
September 1, 2011 20:10
-
-
Save jhsu/1187130 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Joseph Hsu <[email protected]> | |
pkgname=bdsm-git | |
pkgver=20110418 | |
pkgrel=1 | |
pkgdesc="SM :: S{cripting,ystem,tack} Management (SM) Framework (Core)" | |
arch=('i686' 'x86_64') | |
url="https://sm.beginrescueend.com/" | |
license=("Apache License, Version 2.0") | |
depends=("bash") | |
makedepends=("git") | |
provides=("bdsm") | |
source=() | |
md5sums=() | |
_gitroot=https://github.com/sm/sm.git | |
_gitname=bdsm | |
build() { | |
cd "$srcdir" | |
msg "Connecting to Github repo ($_gitroot)...." | |
if [ -d $_gitname ] ; then | |
cd $_gitname | |
git pull || return 1 | |
msg2 "The local files are updated." | |
else | |
msg2 "Cloning repo..." | |
git clone $_gitroot $_gitname | |
fi | |
} | |
package() { | |
msg2 "Installing BDSM..." | |
cd "$srcdir/$_gitname" | |
export prefix_path=$pkgdir | |
./install | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment