summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2b0776d57c918d7e363e6d341dc36fa192628047 (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
# Contributor: Graziano Giuliani <graziano.giuliani@gmail.com>
# Maintainer: Graziano Giuliani <graziano.giuliani@gmail.com>

_gitname=horcrux

pkgname=horcrux
pkgrel=1
pkgver=1993d95
pkgdesc="Makes running duplicity for secure offsite backups easy"
arch=('any')
url="https://github.com/thirtythreeforty/horcrux"
license=('GPLv3')
depends=('duplicity' 'md5deep' 'bzip2')
makedepends=('git')
source=(git://github.com/thirtythreeforty/$_gitname.git)
md5sums=('SKIP')

pkgver() {
  cd $srcdir/$_gitname
  # Use the tag of the last commit
  git describe --always | sed 's|-|.|g'
}

build() {
  echo "Nothing to build."
}

package() {
  install -Dm755 $srcdir/$pkgname/$pkgname $pkgdir/usr/bin/$pkgname
}

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