aboutsummaryrefslogblamecommitdiffstats
path: root/community/borgbackup/APKBUILD
blob: 66d0a852abd126d740e6fc7a0d90dda06bf16cbf (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 
                                              
                  
            
        


                                        
                      
                                     


                                                                                           
 
         

                              


           

                                                               



                                                                                  

 
                                                                                                                                                                      
# Contributor: Olivier Mauras <olivier@mauras.ch>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=borgbackup
pkgver=1.1.7
pkgrel=0
pkgdesc="Deduplicating backup program"
url="https://borgbackup.readthedocs.io/"
arch="all"
license="BSD-3-Clause"
depends="python3 py3-msgpack py3-zmq"
makedepends="python3-dev lz4-dev acl-dev attr-dev libressl-dev linux-headers
	py3-setuptools"
source="https://github.com/$pkgname/borg/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"

	# Clean some useless files.
	cd "$pkgdir"/usr/lib/python*/site-packages/borg
	find . -name '*.h' -delete -o -name '*.c' -delete -o -name '*.pyx' -delete
}

sha512sums="586420b9cad7e731f2f1b8b05f3cd3dc606691c5a5ec307e887035d941ac5ac6d4c988783660969960a1221e4d9f2b865ee5558d4007ea7524632d0a50a8a402  borgbackup-1.1.7.tar.gz"