initial import
This commit is contained in:
33
rdiff-backup/PKGBUILD
Normal file
33
rdiff-backup/PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=rdiff-backup
|
||||
pkgver=2.0.5
|
||||
pkgrel=1
|
||||
pkgdesc="Free and libre utility for local/remote mirroring and incremental backups."
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://www.nongnu.org/rdiff-backup/'
|
||||
license=('GPL-2')
|
||||
depends=('python-setuptools' 'librsync')
|
||||
makedepends=('python-setuptools-scm')
|
||||
optdepends=('python-pylibacl: access control list support'
|
||||
'python-pyxattr: extended attribute support')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/rdiff-backup/rdiff-backup/archive/refs/tags/v${pkgver}.tar.gz"
|
||||
"fix-scm-version.patch")
|
||||
sha512sums=('8bedb22e812bb259bf9e01c94437dd266ed849aba44a3dcddce9ef09ab6c235b28e04022b087f1ec3fc420168b502333cb3e701a2edf27a959064d73d1f6d914'
|
||||
'37e518830bbd1f074c3b857f9052a888e5ce3acc7a59c30ac0a8331e259d56afe0a4317e908bc043b7b260506ffccfb1088fa0e67b7d75501a4577c0e441d4d2')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
patch -Np1 -i $srcdir/fix-scm-version.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
python setup.py install --root="$pkgdir" -O1
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
11
rdiff-backup/fix-scm-version.patch
Normal file
11
rdiff-backup/fix-scm-version.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/setup.py 2020-07-25 10:53:18.000000000 +0200
|
||||
+++ b/setup.py 2022-08-18 12:18:54.251721393 +0200
|
||||
@@ -136,7 +136,7 @@
|
||||
|
||||
setup(
|
||||
name="rdiff-backup",
|
||||
- use_scm_version=True,
|
||||
+ use_scm_version=False,
|
||||
description="Backup and Restore utility, easy to use, efficient, locally and remotely usable",
|
||||
long_description="""
|
||||
rdiff-backup is a simple backup tool which can be used locally and remotely,
|
||||
Reference in New Issue
Block a user