blob: bfe4e8c2925393d487ce5beb7da3c665a0ea0f6f (
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
29
30
|
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Contributor: b1f6c1c4 <b1f6c1c4@gmail.com>
_pkgname=git-get
pkgname=${_pkgname}-git
pkgver=0.0.r2.ge822073
pkgrel=1
pkgdesc='Blazingly fast, incredibly handy git clone alternative'
arch=('any')
url='https://github.com/b1f6c1c4/git-get'
license=('MIT')
depends=('git')
makedepends=('git')
provides=("${_pkgname}")
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd ${_pkgname}
install -Dm755 -t "${pkgdir}/usr/bin" "${_pkgname}"{,s}
install -Dm644 -t "${pkgdir}/usr/share/man/man1" "man/${_pkgname}"{,s}.1
install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" 'README.md'
install -Dm644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" 'LICENSE'
}
# vim: ts=2 sw=2 et:
|