summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ryan2019-12-12 18:00:59 +1300
committerJason Ryan2019-12-12 18:00:59 +1300
commit57fd06235aae2731dd096dee7a8e0ada8d109839 (patch)
tree9f43fff0828bd3a346c4c8a6a424c164db83af83
parent56dccff9eb572757aa52c907cd7fe7331c67a16c (diff)
downloadaur-57fd06235aae2731dd096dee7a8e0ada8d109839.tar.gz
Applied hak's papersave patch
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--regex.patch10
3 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f2d5ddf24f36..e1d6368d59aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = muttprint
pkgdesc = An app to print email from CLI mail clients, mutt in particular
pkgver = 0.73_4
- pkgrel = 5
+ pkgrel = 6
url = http://muttprint.sf.net
arch = i686
arch = x86_64
@@ -21,7 +21,7 @@ pkgbase = muttprint
source = two_edge.patch
md5sums = 39b76058b838e3078df93236eda2c316
md5sums = 4a97e45b6df024272a8683403c9b73e6
- md5sums = c0eb6dcfc195c95edf5e27c414f8290a
+ md5sums = 3e338bb7dbe33401e59dc53ca830508d
md5sums = 11846b8ebfba2b784ae64fb32abb7cfd
pkgname = muttprint
diff --git a/PKGBUILD b/PKGBUILD
index fdd5f7381dba..ff7922d522c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=muttprint
pkgver=0.73_4
_mainver=0.73
-pkgrel=5
+pkgrel=6
arch=("i686" "x86_64")
pkgdesc="An app to print email from CLI mail clients, mutt in particular"
license=("GPL")
@@ -19,7 +19,7 @@ source=(http://downloads.sf.net/$pkgname/$pkgname-$_mainver.tar.gz
'muttprint_0.73-4.diff' 'regex.patch' 'two_edge.patch')
md5sums=('39b76058b838e3078df93236eda2c316'
'4a97e45b6df024272a8683403c9b73e6'
- 'c0eb6dcfc195c95edf5e27c414f8290a'
+ '3e338bb7dbe33401e59dc53ca830508d'
'11846b8ebfba2b784ae64fb32abb7cfd')
prepare(){
diff --git a/regex.patch b/regex.patch
index e99c4a2c5b29..7f3791927e4a 100644
--- a/regex.patch
+++ b/regex.patch
@@ -1,11 +1,13 @@
---- a/muttprint 2015-07-21 11:18:04.219578426 +1200
-+++ b/muttprint 2015-07-21 11:18:53.906243779 +1200
-@@ -1635,7 +1635,7 @@
+--- a/muttprint 2019-12-12 17:55:22.386940568 +1300
++++ b/muttprint 2019-12-12 17:52:26.477281840 +1300
+@@ -1635,7 +1635,9 @@
open (AUX, "$auxfile") or fatalError "Could not open $auxfile:\n$!";
while (<AUX>) {
- ($numberOfPages) = /\\newlabel{LastPage}{{}{(\d+)}}/;
-+ ($numberOfPages) = /\\newlabel\{LastPage}\{\{}\{(\d+)}}/;
++ if ( /\\newlabel\{LastPage}\{\{}\{(\d+)}}/ ) {
++ $numberOfPages = $1;
++ }
}
close AUX or fatalError "Could not close $auxfile:\n$!";