Created
January 27, 2012 19:35
-
-
Save mythmon/1690513 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: Mike Cooper <mythmon[at]gmail.com> | |
# Contributor: Danny Tatom <dannytatom[at]gmail.com> | |
# Contributor: Chris Wanstrath <chris[at]ozmm.org> | |
# Contributor: Felix Rohrbach <fxrh@gmx.de> | |
pkgname=hub | |
pkgver=1.8.1 | |
pkgrel=1 | |
pkgdesc="Introduces git to GitHub" | |
arch=('any') | |
url="http://defunkt.io/hub" | |
depends=('git' 'ruby') | |
makedepends=() | |
license=('MIT') | |
groups=() | |
source=("https://github.com/defunkt/hub/tarball/v${pkgver}" | |
'LICENSE') | |
md5sums=('e552caf1af3b4d007fd5d19ef25cc682' | |
'c1e5fa6106c5bb66e1140364a34deab3') | |
_rubyver='1.9.1' | |
build() { | |
/bin/true | |
} | |
package() { | |
cd ${srcdir} | |
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" | |
cd defunkt-${pkgname}-* | |
install -m755 -D "bin/hub" "${pkgdir}/usr/bin/${pkgname}" | |
for file in args commands context json runner standalone version; do | |
install -m644 -D lib/hub/${file}.rb ${pkgdir}/usr/lib/ruby/site_ruby/${_rubyver}/${pkgname}/${file} | |
done | |
gzip -c "man/hub.1" > hub.1.gz | |
install -D -m644 hub.1.gz "${pkgdir}/usr/share/man/man1/hub.1.gz" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment