summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 131b17b634ee53dfb30e632ebb16755bb11bfbcc (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
# Maintainer: lmbbrkr <lmbbrkr at protonmail dot ch>

pkgname=lxd-snapper-bin
_pkgname="${pkgname%-bin}"
pkgver=1.3.0
pkgrel=2
pkgdesc="LXD snapshots, automated"
arch=('x86_64')
url="https://github.com/Patryk27/lxd-snapper"
license=('MIT')
depends=('lxd>=4.0.0')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("${_pkgname}-${pkgver}-linux64::${url}/releases/download/v${pkgver}/lxd-snapper-linux64"
        "LICENSE::https://raw.githubusercontent.com/Patryk27/lxd-snapper/4fcbb1e1c5f5754cadc87a00ccce4245370e9b7e/LICENSE")
sha256sums=('d4f86a91928752202f2ac25f1b54935cb850107d47713007b89e0f80525e37cd'
            '1dc80432b6cf5b95bb274053190166d47dc301ecb479d65fe3c139824ccd6cea')

package() {
  install -Dm755 "${_pkgname}-${pkgver}-linux64" "${pkgdir}/usr/bin/${_pkgname}"
  install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}

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