Files
MSYS2-packages/git-extras-git/PKGBUILD
2017-09-16 03:45:32 +00:00

22 lines
523 B
Bash

_pkgname=git-extras
pkgname=${_pkgname}-git
pkgver=4.3.0
pkgrel=1
pkgdesc="GIT utilities -- repo summary, commit counting, repl, changelog population and more"
arch=('any')
license=('MIT')
depends=('git')
source=("https://github.com/tj/${_pkgname}.git")
sha256sums=('SKIP')
build(){
cd "$srcdir/$_pkgname"
git checkout "$pkgver"
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" PREFIX=/usr SYSCONFDIR=/etc install
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}