mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
30 lines
558 B
Bash
30 lines
558 B
Bash
pkgname=bup
|
|
pkgver=0.27
|
|
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
|
|
}
|