summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0302001017218a970c062633cfd70c6b6a7148c3 (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
pkgname=update-ssh-keys
pkgver=r23.96fe9ef
pkgrel=1
pkgdesc="SSH Key helper binary from github.com/coreos/update-ssh-keys"
arch=('x86_64')
url="https://github.com/coreos/update-ssh-keys"
license=(apache)
makedepends=('go')
source=("$pkgname::git+$url")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


build() {
  cd "$pkgname"
  ./build
}

package() {
  cd "${pkgname}"
  mkdir -p ${pkgdir}/usr/bin
  cp bin/* ${pkgdir}/usr/bin
}

# vim:set ts=2 sw=2 et: