1 # Maintainer: Daniel Mendler <mail at daniel-mendler.de>
2 # Contributor: Daniel Mendler <mail at daniel-mendler.de>
6 pkgdesc="Install Ruby Gems as Arch Linux packages"
8 url="http://github.com/minad/pacgem"
14 _gitroot="git://github.com/minad/pacgem.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 (cd $_gitname; git pull origin)
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
32 install -D -m755 $_gitname/pacgem $pkgdir/usr/bin/pacgem
33 install -D -m644 $_gitname/pacgem.8 $pkgdir/usr/share/man/man8/pacgem.8