summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4b578a80280ae6075a2d15f5695f2519f87679a (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
# Maintainer: Edvin Hultberg <hultberg@mittnett.net>

pkgname=git-fresh
pkgver=1.12.0
pkgrel=2
pkgdesc='Keep your repo fresh with one command.'
arch=('any')
url='https://github.com/imsky/git-fresh'
license=('MIT')
depends=('bash')
source=("$pkgname-$pkgver.tar.gz::https://github.com/imsky/git-fresh/archive/v$pkgver.tar.gz")
sha256sums=('199a35e695a839609159b08667c19d361716d882fc5e44a8ec164dc580fb1edc')

package() {
	cd "$srcdir/$pkgname-$pkgver"
	install -Dm755 ./git-fresh $pkgdir/usr/bin/git-fresh

	install -dm655 $pkgdir/usr/share/licenses/git-fresh
	install -Dm644 ./LICENSE $pkgdir/usr/share/licenses/git-fresh/LICENSE
	install -Dm644 ./README.md $pkgdir/usr/share/licenses/git-fresh/README.md
	install -Dm644 ./README.md $pkgdir/usr/share/licenses/git-fresh/README.md

	install -Dm644 ./git-fresh.1 $pkgdir/usr/share/man/man1/git-fresh.1
}