summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 48b9937a6ea25ee7908acff74ebca2211b6fb5da (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: andys8 <andys8@users.noreply.github.com>
pkgname=git-brunch
pkgver=1.7.2
pkgrel=1
pkgdesc="A git command-line tool to work with branches"
arch=('x86_64')
url="https://github.com/andys8/git-brunch"
license=('custom:BSD3')
depends=('git')
makedepends=('stack')
source=("${pkgname}-${pkgver}::git+https://github.com/andys8/${pkgname}.git#tag=v${pkgver}")
noextract=()
md5sums=('SKIP')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    stack build
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    stack --local-bin-path "${pkgdir}/usr/bin/" install
}