summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2a08943ad3a3f4119d146569d202082adb34a9df (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
# Maintainer: wenLiangcan <boxeed at gmail dot com>

pkgname=gg-git
pkgver=20151219
pkgrel=1
pkgdesc="Git Goodies: At-A-Glance, Efficient, and Aesthetically Pleasing Git Shortcuts"
arch=("any")
url="https://github.com/qw3rtman/gg"
license=('Unkown')
depends=('bash')
makedepends=('git')
provides=('gg')
conflicts=('gg')
source=("$pkgname"::'git://github.com/qw3rtman/gg.git')
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/$pkgname"
    git log -1 --format='%cd' --date=short | tr -d -- '-'
}

package() {
    cd "$srcdir/$pkgname"
    install -Dm755 "bin/gg" "$pkgdir/usr/bin/gg"
}