updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / tagurit / PKGBUILD
blob44a0a20c5d81100ed8a891896307cf950b6be1b7
1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
3 pkgname=tagurit
4 pkgver=0.1
5 pkgrel=1
6 pkgdesc='Watches git repos for new tags.'
7 arch=('any')
8 url='https://github.com/gostrc/tagurit'
9 license=('unknown')
10 depends=('ruby' 'git')
12 build() {
13   local _gitroot='git://github.com/gostrc/tagurit.git'
14   local _gitname='tagurit'
16   if [ -d ${_gitname} ] ; then
17     cd ${_gitname}
18     git pull
19   else
20     git clone ${_gitroot} ${_gitname}
21     cd ${_gitname}
22   fi
24   git checkout 0.1
25
27 package() {
28   local _gitname='tagurit'
30   cd ${_gitname}
32   install -D tagurit.rb \
33     ${pkgdir}/usr/bin/tagurit