aboutsummaryrefslogtreecommitdiffstats
path: root/main/hub/APKBUILD
blob: 00518489f284e04a9d880884ed9d198dda9872c6 (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.11.0
pkgrel=1
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="b483c986e06e07ca082cf73a07172ee5  hub-1.11.0.tar.gz"
sha256sums="ed582b153712af04589a8119265dcb81e250ed5c42f5679d4fc66ddf72bc0cf9  hub-1.11.0.tar.gz"
sha512sums="c2f8199cb897b99da545a7707d9c11b5169286899b76c76d549fe044c257fc29ca59a7130c2c3bf9e95a873b493d50d9803bded97ca80513dc7496505217a532  hub-1.11.0.tar.gz"