blob: 8feb2977b4a03c4ed1a42947ea84f40685cf16be (
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
|
# Maintainer: Jameson Pugh <imntreal@gmail.com>
# Contributor: Florian Daniel <fd@noxa.de>
# Contributor: Eldar Tsraev <elts@culab.org>
# Contributor: Andreas Guth <andreas.guth@rwth-aachen.de>
# Contributor: Alexander Neumann <alexander@bumpern.de>
options=(!strip)
pkgname=restic
pkgver=0.3.0
pkgrel=1
pkgdesc="restic is a program that does backups right."
arch=('i686' 'x86_64')
url="https://restic.github.io"
license=('BSD')
depends=('glibc')
makedepends=('go>=1.3')
conflicts=('restic-git')
source=("https://github.com/restic/restic/archive/v${pkgver}.tar.gz")
sha256sums=('1a8cf9e6b7e8ee2c26f4e1921fd6aa1e834ae17b0b51c69ada85f26d12ddd7ed')
#importpath='github.com/restic/restic'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
go run build.go
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 "restic" "${pkgdir}/usr/bin/restic"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/$pkgname/README"
}
# vim:set ts=2 sw=2 et:
|