diff options
author | Sparticuz | 2022-08-22 09:02:15 -0400 |
---|---|---|
committer | Sparticuz | 2022-08-22 09:02:15 -0400 |
commit | 45cf8ea4810350beeb143705d3df5ae5ad486b9c (patch) | |
tree | dbd9aaec14a277ec374033c8862a34ab0b1ce10a | |
parent | 9207e74132734875ae6be93709e93035f191fb72 (diff) | |
download | aur-45cf8ea4810350beeb143705d3df5ae5ad486b9c.tar.gz |
Update to Snapraid 12.2
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | remove_sys_mount_h.patch | 14 |
3 files changed, 8 insertions, 30 deletions
@@ -1,16 +1,14 @@ pkgbase = snapraid pkgdesc = tool for Snapshot RAID: generate parity files, maintain checksums on data, restore lost data - pkgver = 12.1 - pkgrel = 4 + pkgver = 12.2 + pkgrel = 1 url = http://www.snapraid.it/ arch = x86_64 arch = i686 license = GPL3 depends = libutil-linux depends = glibc - source = https://github.com/amadvance/snapraid/releases/download/v12.1/snapraid-12.1.tar.gz - source = remove_sys_mount_h.patch - sha256sums = 49337d9bafa96c2beac0125463bd22622be2fc00f3b4dee7e4b0e864d2a49661 - sha256sums = 34c87c06ff9ce72638e19ec8e78841a1c2c06040b23107dc8df347dcc256d4b1 + source = https://github.com/amadvance/snapraid/releases/download/v12.2/snapraid-12.2.tar.gz + sha256sums = 9d30993aef7fd390369dcaf422ac35f3990e8c91f0fb26151f5b84ccb73d3e01 pkgname = snapraid @@ -1,16 +1,15 @@ # Maintainer: Kyle McNally <kyle@kmcnally.net> # Contributor: John Williams <jwilliams4200 liamg reverse&remove moc> pkgname=snapraid -pkgver=12.1 -pkgrel=4 +pkgver=12.2 +pkgrel=1 pkgdesc="tool for Snapshot RAID: generate parity files, maintain checksums on data, restore lost data" arch=('x86_64' 'i686') url="http://www.snapraid.it/" license=('GPL3') depends=('libutil-linux' 'glibc') -source=("https://github.com/amadvance/snapraid/releases/download/v${pkgver}/snapraid-${pkgver}.tar.gz" remove_sys_mount_h.patch) -sha256sums=('49337d9bafa96c2beac0125463bd22622be2fc00f3b4dee7e4b0e864d2a49661' - '34c87c06ff9ce72638e19ec8e78841a1c2c06040b23107dc8df347dcc256d4b1') +source=("https://github.com/amadvance/snapraid/releases/download/v${pkgver}/snapraid-${pkgver}.tar.gz") +sha256sums=('9d30993aef7fd390369dcaf422ac35f3990e8c91f0fb26151f5b84ccb73d3e01') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -24,11 +23,6 @@ check() { make check } -prepare() { - # Patch for 12.1 - patch --directory="$pkgname-$pkgver" --forward --strip=2 --input="${srcdir}/remove_sys_mount_h.patch" -} - package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}/" prefix="/usr" mandir="/usr/share/man" install diff --git a/remove_sys_mount_h.patch b/remove_sys_mount_h.patch deleted file mode 100644 index 698ae78143cc..000000000000 --- a/remove_sys_mount_h.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --unified --recursive --text src/snapraid-12.1/cmdline/portable.h new/snapraid-12.1/cmdline/portable.h ---- src/snapraid-12.1/cmdline/portable.h 2022-01-09 02:46:57.000000000 -0500 -+++ new/snapraid-12.1/cmdline/portable.h 2022-08-11 15:47:27.064154515 -0400 -@@ -101,10 +101,6 @@ - #include <sys/param.h> - #endif - --#if HAVE_SYS_MOUNT_H --#include <sys/mount.h> --#endif -- - #if HAVE_SYS_VFS_H - #include <sys/vfs.h> - #endif |