summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b24cd354cbded19016576a1202ae9a9372ff899 (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
31
32
33
34
35
36
# Maintainer : Kipras Melnikovas (sarpik)  $(curl -L go.kipras.org/email)

pkgname=git-backup-git
pkgver() {
  cd "$srcdir/${pkgname%-git}"
  printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgver=r36.g99c39ef
pkgrel=1

pkgdesc="Remote git stash, in case of fire and more!"
arch=("any")
url="https://github.com/sarpik/git-backup"
license=("GPL2")

provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")

makedepends=()
depends=("git")

options=()

install="${pkgname%-git}.install"
#changelog=
source=("git+$url")
sha256sums=("SKIP")

package() {
  cd "$srcdir/${pkgname%-git}"
  make DESTDIR="$pkgdir" -s install
  install -Dm644 -t "$pkgdir/usr/share/doc/${pkgname%-git}/" README.md
}

# vim: ts=2 sw=2 et ft=PKGBUILD: