summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4403427b910154c0591bdc37d5c63157dde7b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Benjamin Denhartog <ben@sudoforge.com>

# For ISSUES, REQUESTS, and QUESTIONS:
# https://github.com/sudoforge/pkgbuilds

pkgname=git-cleanup
pkgver=1.0.0
pkgrel=2
pkgdesc="Easily remove merged and deleted branches from local and remote repositories."
arch=('any')
url="https://github.com/sudoforge/${pkgname}"
license=('MIT')
depends=('git')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('9d562d99785ea9a02a686a0b54074c8cb70be7e0d36f773e51f43bcf30b4d9a9')

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" PREFIX=/usr install
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}