summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: daea3234f6dc097560e8878d474fed42eea905d0 (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
# Maintainer: Shengyu Zhang <la@archlinuxcn.org>

pkgname=git-vendor
pkgver=1.3.0
pkgrel=1
pkgdesc="Git command for managing git vendored dependencies"
arch=('any')
license=('MIT')
url="https://brettlangdon.github.io/git-vendor/"
makedepends=()
depends=('git')
optdepends=()
source=("https://github.com/brettlangdon/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('774c0ba9596f3231c846dad096f61d7e2906f6fad38c031bf6c01bb8d6c0a338')

build() {
    cd ${pkgname}-${pkgver} # Nothing to do
}

package() {
    cd ${pkgname}-${pkgver}
    make \
        PREFIX="/usr"       \
        SYSCONFDIR="/etc"   \
        DESTDIR="${pkgdir}" \
        install
    install -D -m644 "./LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}