summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2022-05-14 16:36:52 -0600
committerMark Wagie2022-05-14 16:36:52 -0600
commit6996b5badc880db1af10bf1a9658bf45c0af6383 (patch)
treeed419ee0c185e62e0f8bfba1b2bd3829028410bb
parenta7e192286820c28834b89af2adb2f4b1b94db95b (diff)
downloadaur-6996b5badc880db1af10bf1a9658bf45c0af6383.tar.gz
Force rsync to output decimals in C locale
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0daf1875a04..71c522c5d66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = timeshift
pkgdesc = A system restore utility for Linux
pkgver = 21.09.1
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/teejee2008/timeshift
install = timeshift.install
arch = i686
@@ -27,11 +27,13 @@ pkgbase = timeshift
optdepends = grub-btrfs: BtrfS snapshots in grub
options = !emptydirs
source = git+https://github.com/teejee2008/timeshift.git#commit=ade651c0c8199a6f99344ecf6fc5061b741494eb
+ source = https://github.com/teejee2008/timeshift/pull/904.patch
source = read-only-btrfs-snapshot.patch
source = grub-btrfs.path
source = snapshot-detect.desktop
source = snapshot-detect
sha256sums = SKIP
+ sha256sums = 561fd266992458da028d31abfda0b15193568bb28e71ece618e2500ac4fd2263
sha256sums = 17b4f01d131c4c0b0fe5c5b55142c45deca7d1448e85736a23b65226e6dd6eb1
sha256sums = b48a3e22d238fbfd22324d0444312559e7b740fd591fa7eb4e9c3d2717c79dfa
sha256sums = 97b38f4dbd6819542eab0a9217e399f55ec7339af4529432cfab1eb3cff8e0eb
diff --git a/PKGBUILD b/PKGBUILD
index 0575d3ae2c9..0510ec02194 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: Robert Orzanna <orschiro at gmail dot com>
pkgname=timeshift
pkgver=21.09.1
-pkgrel=3
+pkgrel=4
pkgdesc="A system restore utility for Linux"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/teejee2008/timeshift"
@@ -21,11 +21,13 @@ options=('!emptydirs')
install="$pkgname.install"
_commit=ade651c0c8199a6f99344ecf6fc5061b741494eb
source=("git+https://github.com/teejee2008/timeshift.git#commit=$_commit"
+ 'https://github.com/teejee2008/timeshift/pull/904.patch'
"read-only-btrfs-snapshot.patch"
"grub-btrfs.path"
"snapshot-detect.desktop"
"snapshot-detect")
sha256sums=('SKIP'
+ '561fd266992458da028d31abfda0b15193568bb28e71ece618e2500ac4fd2263'
'17b4f01d131c4c0b0fe5c5b55142c45deca7d1448e85736a23b65226e6dd6eb1'
'b48a3e22d238fbfd22324d0444312559e7b740fd591fa7eb4e9c3d2717c79dfa'
'97b38f4dbd6819542eab0a9217e399f55ec7339af4529432cfab1eb3cff8e0eb'
@@ -40,6 +42,9 @@ prepare() {
cd "$srcdir/$pkgname"
sed -i -e 's/--Xcc="-O3" //g' src/makefile
+ # Force rsync to output decimals in C locale
+ patch -Np1 -i "$srcdir/904.patch"
+
# https://github.com/teejee2008/timeshift/pull/685
#patch -Np1 -i "$srcdir"/read-only-btrfs-snapshot.patch
}