summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 779a3b3c8220..fdd5f7381dba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=muttprint
pkgver=0.73_4
_mainver=0.73
-pkgrel=4
+pkgrel=5
arch=("i686" "x86_64")
pkgdesc="An app to print email from CLI mail clients, mutt in particular"
license=("GPL")
@@ -27,6 +27,8 @@ prepare(){
patch -p1 < ../muttprint_0.73-4.diff
patch -p1 < ../regex.patch
patch -p1 < ../two_edge.patch
+ # fix sample configs
+ find . -type f -name 'sample*' -exec sed -i 's/-P$PRINTER/-p$PRINTER/' {} \;
# convert images (and make pics/ build work)
cd pics/ && \
convert -flop BabyTuX.eps BabyTuX.eps