summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 648d834985eca80d2d52202af50e849f910a551e (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
# Maintainer: Felix Braun <hazzl@falix.de>
pkgname=zbackup
pkgver=1.4.4
pkgrel=1
pkgdesc='A versatile deduplicating backup tool'
arch=('i686' 'x86_64')
url='http://zbackup.org'
license=('GPL2')
depends=('xz' 'openssl' 'protobuf')
makedepends=('cmake')
source=(https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz)
md5sums=('0753ca5d61533f951d6ebb6f087efa0b')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  cmake . -DCMAKE_INSTALL_PREFIX=/usr
  make
  cd tartool
  cmake . -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  cd tartool
  make DESTDIR="${pkgdir}" install
}