diff options
author | xiota | 2023-01-29 13:26:40 -0800 |
---|---|---|
committer | xiota | 2023-01-29 13:35:09 -0800 |
commit | 73d8ae73c8561eff000e11d9e0a786ef59d22f04 (patch) | |
tree | ddb0b2fa5e9d2257245a21b77315bd74473c061f | |
parent | e778a313b5202234a2273c5f2ab5772684b121db (diff) | |
download | aur-73d8ae73c8561eff000e11d9e0a786ef59d22f04.tar.gz |
3.2.7.r16
- remove extraneous depends
- add optdepends: python
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | .gitignore | 10 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 28 insertions, 23 deletions
@@ -1,6 +1,6 @@ pkgbase = rsync-reflink-git pkgdesc = A fast and versatile file copying tool for remote and local files - with reflink support (git) - pkgver = 3.2.7.r8.g74028965 + pkgver = 3.2.7.r16.g90df93e4 pkgrel = 1 url = https://github.com/WayneD/rsync/issues/153 arch = i686 @@ -10,19 +10,16 @@ pkgbase = rsync-reflink-git makedepends = python-commonmark depends = acl depends = libacl.so - depends = lz4 - depends = openssl - depends = perl + depends = libxxhash.so depends = popt depends = xxhash - depends = libxxhash.so - depends = zlib depends = zstd + optdepends = python: for rrsync provides = rsync conflicts = rsync backup = etc/rsyncd.conf backup = etc/xinetd.d/rsync - source = rsync-git::git+https://github.com/WayneD/rsync + source = rsync::git+https://github.com/WayneD/rsync source = https://github.com/WayneD/rsync-patches/raw/master/clone-dest.diff source = https://github.com/WayneD/rsync-patches/raw/master/detect-renamed.diff source = https://github.com/WayneD/rsync-patches/raw/master/detect-renamed-lax.diff diff --git a/.gitignore b/.gitignore index 624578c22214..018a3de08144 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ -pkg -src -*.log -*.tar.* -*.diff -rsync* +* +!PKGBUILD +!.SRCINFO +!.gitignore @@ -1,21 +1,31 @@ _pkgname=rsync -pkgname=rsync-reflink-git -pkgver=3.2.7.r8.g74028965 +pkgname="$_pkgname-reflink-git" +pkgver=3.2.7.r16.g90df93e4 pkgrel=1 pkgdesc='A fast and versatile file copying tool for remote and local files - with reflink support (git)' arch=('i686' 'x86_64') url='https://github.com/WayneD/rsync/issues/153' license=('GPL3') -depends=('acl' 'libacl.so' 'lz4' 'openssl' 'perl' 'popt' 'xxhash' 'libxxhash.so' 'zlib' 'zstd') +depends=( + 'acl' + 'libacl.so' + 'libxxhash.so' + 'popt' + 'xxhash' + 'zstd' +) +optdepends=( + 'python: for rrsync' +) makedepends=('git' 'python-commonmark') -provides=("${_pkgname}") +provides=("$_pkgname") conflicts=(${provides[@]}) backup=( 'etc/rsyncd.conf' 'etc/xinetd.d/rsync' ) source=( - "${_pkgname}-git"::"git+https://github.com/WayneD/rsync" + "$_pkgname"::"git+https://github.com/WayneD/rsync" 'https://github.com/WayneD/rsync-patches/raw/master/clone-dest.diff' 'https://github.com/WayneD/rsync-patches/raw/master/detect-renamed.diff' 'https://github.com/WayneD/rsync-patches/raw/master/detect-renamed-lax.diff' @@ -30,19 +40,19 @@ sha256sums=( ) pkgver() { - cd "$srcdir/${_pkgname}-git" + cd "$srcdir/$_pkgname" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { - cd "$srcdir/${_pkgname}-git" + cd "$srcdir/$_pkgname" patch -Np1 -F100 -i "$srcdir/clone-dest.diff" patch -Np1 -F100 -i "$srcdir/detect-renamed.diff" patch -Np1 -F100 -i "$srcdir/detect-renamed-lax.diff" } build() { - cd "${srcdir}/${_pkgname}-git" + cd "$srcdir/$_pkgname" ./configure \ --prefix=/usr \ @@ -53,13 +63,13 @@ build() { } check() { - cd "${srcdir}/${_pkgname}-git" + cd "$srcdir/$_pkgname" make test } package() { - cd "${srcdir}/${_pkgname}-git" + cd "$srcdir/$_pkgname" make DESTDIR="$pkgdir" install install -Dm0644 ../rsyncd.conf "$pkgdir/etc/rsyncd.conf" |