aboutsummaryrefslogtreecommitdiffstats
path: root/main/hub/APKBUILD
blob: b97853726dd8c0665370d20e9a74ee05a024df19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Eivind Uggedal <eivind@uggedal.com>
pkgname=hub
pkgver=1.12.0
pkgrel=0
pkgdesc="Extends git with extra features for GitHub"
url="http://hub.github.com/"
arch="noarch"
license="MIT"
depends="git ruby"
makedepends="ruby-rake"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$_builddir"
	rake standalone
}

package() {
	cd "$_builddir"

	install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
	install -D -m644 man/$pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1
	install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="87d6ba3ffd513814dedf6a6b6e07e41f  hub-1.12.0.tar.gz"
sha256sums="fb45c3777fb1b16fd07bfd7a66fb986b3582713555128e8118782072682374d1  hub-1.12.0.tar.gz"
sha512sums="a935f761e0033d226ab315651c2ab2c98a9dbe1757bacb23673a1bf34e144d60ae20cc577c208d70d172f46099c741589b3d2f13ac79b4dd1a1a6ea23eb601cb  hub-1.12.0.tar.gz"