summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d1a49b941d09eb4ee4925cfe064e597fd8ddee58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Daichi Shinozaki <dsdseg@gmail.com>
pkgname=confd
pkgver=0.16.0
pkgrel=1
pkgdesc="A lightweight configuration management tool"
arch=(x86_64)
url="https://github.com/kelseyhightower/confd"
license=('MIT')
source=("https://github.com/kelseyhightower/$pkgname/releases/download/v$pkgver/confd-$pkgver-linux-amd64"
 "https://raw.githubusercontent.com/kelseyhightower/$pkgname/master/LICENSE")
md5sums=('7c903f70b19134ddbd379eef8533cfcf'
         'a7c77d088bc8e2c497cf2cce6f20292f')

package() {
  cd $srcdir
  mkdir -p $pkgdir/usr/bin
  install -m755 "confd-$pkgver-linux-amd64" $pkgdir/usr/bin/$pkgname
  install -TDm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}