desktop/bup/PKGBUILD
2015-03-20 09:44:05 +00:00

37 lines
847 B
Bash

# Maintainer: FranzMari <franzmari[at]chakra-project[dot]it>
# If you'd like to have documentation, please set the variable below to 1.
# This implies installing pandoc, which in turn depends on many Haskell packages.
#_havedocs=0
#[ $_havedocs = 1 ] && makedepends=('haskell-pandoc')
pkgname=bup
pkgver=0.26
pkgrel=1
pkgdesc="Highly efficient file backup system based on the git packfile format."
arch=('x86_64')
url="http://github.com/bup/bup"
license=('GPL')
depends=('python-fuse' 'par2cmdline' 'pylibacl' 'python3-pyxattr')
conflicts=('bup-git')
source=("git+https://github.com/bup/bup.git#tag=${pkgver}")
md5sums=('SKIP')
build() {
cd $srcdir/$pkgname
## add -Wno-format in CFLAGS
CFLAGS="$CFLAGS -Wno-format"
make
}
test() {
cd $srcdir/$pkgname
make test
}
package() {
cd $srcdir/$pkgname
make DESTDIR=$pkgdir install
}