summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzoe2020-04-02 10:51:31 +0200
committerzoe2020-04-02 10:51:31 +0200
commit102e6a35aa287dfa9870fc597891ff50104f74a4 (patch)
tree84c601097137154112bd56baeeced83fe4a70ba6
parentac056e549b6ccac2f33da5fec1eb5138cf913778 (diff)
downloadaur-102e6a35aa287dfa9870fc597891ff50104f74a4.tar.gz
file .install added
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--pdfcropmargins.install11
3 files changed, 15 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d8e9328ac2db..af8eb433308e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = pdfcropmargins
pkgdesc = Automatically crops the margins of PDF files
pkgver = 0.2.6
- pkgrel = 1
+ pkgrel = 3
url = https://pypi.org/project/pdfCropMargins/
arch = any
license = GPL
@@ -12,7 +12,9 @@ pkgbase = pdfcropmargins
depends = ghostscript
depends = poppler
source = https://files.pythonhosted.org/packages/c2/33/622baca4910c48c9d4b29d804b4690389dff6b0d6730d31a7b4d9ed9fd66/pdfCropMargins-0.2.6.tar.gz
+ source = pdfcropmargins.install
md5sums = ec662f0d5ebc99a9d97a63526fefbbfd
+ md5sums = 9b69f16be9c0ae096f9a00469cd746e1
pkgname = pdfcropmargins
diff --git a/PKGBUILD b/PKGBUILD
index d38230a25ec4..e020b78a20a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=pdfcropmargins
PkgName=pdfCropMargins
pkgver=0.2.6
-pkgrel=2
+pkgrel=3
pkgdesc="Automatically crops the margins of PDF files"
arch=('any')
depends=('python-setuptools' 'python-wheel' 'python-pysimplegui' 'python-pymupdf' 'ghostscript' 'poppler')
diff --git a/pdfcropmargins.install b/pdfcropmargins.install
new file mode 100644
index 000000000000..65e6242f8570
--- /dev/null
+++ b/pdfcropmargins.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo "To run pdfcropmargins in GUI mode :"
+ echo "pdf-crop-margins -gui <file.pdf>"
+ echo " "
+ echo "To run pdfcropmargins in CLI mode :"
+ echo "pdf-crop-margins <file.pdf>"
+ echo " "
+ echo "Read the doc :"
+ echo "pdf-crop-margins --help"
+ echo " "
+}